Documentation ¶
Index ¶
- Variables
- func Solution(day, part int, input string) error
- func Solution_Day01(part int, input string) (int64, error)
- func Solution_Day02(part int, input string) (int64, error)
- func Solution_Day03(part int, input string) (int64, error)
- func Solution_Day04(part int, input string) (int64, error)
- func Solution_Day05(part int, input string) (int64, error)
- func Solution_Day05_regex(part int, input string) (int64, error)
- func Solution_Day06(part int, input string) (int64, error)
- func Solution_Day06_regex(part int, input string) (int64, error)
- func Solution_Day07(part int, input string) (int64, error)
- func Solution_Day08(part int, input string) (int64, error)
- func Solution_Day09(part int, input string) (int64, error)
- func Solution_Day10(part int, input string) (int64, error)
- func Solution_Day11(part int, input string) (int64, error)
- func Solution_Day12(part int, input string) (int64, error)
- func Solution_Day13(part int, input string) (int64, error)
- func Solution_Day14(part int, input string) (int64, error)
- func Solution_Day15(part int, input string) (int64, error)
- func Solution_Day16(part int, input string) (int64, error)
- func Solution_Day17(part int, input string) (int64, error)
- func Solution_Day18(part int, input string) (int64, error)
- func Solution_Day19(part int, input string) (int64, error)
- func Solution_Day20(part int, input string) (int64, error)
- func Solution_Day21(part int, input string) (int64, error)
- type Aunt
- type Circuit
- type City
- type Container
- type ContainerSet
- type Ingredient
- type IngredientsUsed
- type MoleculeReplacement
- type Person
- type Pos
- type Pos64
- type RPGCharacter
- type Reindeer
- type ShopItem
- type SolutionDay
- type Table
- type Wire
Constants ¶
This section is empty.
Variables ¶
View Source
var BASE_PLAYER_HP int = 100
View Source
var ELF_HOUSE_VISIT_LIMIT int = 50
View Source
var ELF_PRESENT_MULTIPLIER int = 10
View Source
var ELF_PRESENT_NEW_MULTIPLIER int = 11
View Source
var SolutionsMap = map[int]SolutionDay{ 1: Solution_Day01, 2: Solution_Day02, 3: Solution_Day03, 4: Solution_Day04, 5: Solution_Day05, 35: Solution_Day05_regex, 6: Solution_Day06, 36: Solution_Day06_regex, 7: Solution_Day07, 8: Solution_Day08, 9: Solution_Day09, 10: Solution_Day10, 11: Solution_Day11, 12: Solution_Day12, 13: Solution_Day13, 14: Solution_Day14, 15: Solution_Day15, 16: Solution_Day16, 17: Solution_Day17, 18: Solution_Day18, 19: Solution_Day19, 20: Solution_Day20, 21: Solution_Day21, }
Functions ¶
Types ¶
type ContainerSet ¶
type ContainerSet struct {
// contains filtered or unexported fields
}
container lists can be different size, so need a wrapper for incositent matrix size
type Ingredient ¶
type Ingredient struct {
// contains filtered or unexported fields
}
type IngredientsUsed ¶
type IngredientsUsed struct {
// contains filtered or unexported fields
}
type MoleculeReplacement ¶
type MoleculeReplacement struct {
// contains filtered or unexported fields
}
type RPGCharacter ¶
type RPGCharacter struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.