Documentation ¶
Index ¶
- func AssignFuns()
- func CmpItem(s, t interface{}) int
- func Day1()
- func Day10()
- func Day11()
- func Day12()
- func Day13()
- func Day14()
- func Day15()
- func Day15Ivs(sensors [][2]int, dists []int, row, lwb, upb int) [][2]int
- func Day15ReadInput(y int) ([][2]int, []int, int)
- func Day16()
- func Day16Input() ([]int, [][]int, []string, int)
- func Day17()
- func Day18()
- func Day19()
- func Day19MaxGeodes(a [][]int, rounds int) int
- func Day19ParseBlueprint(line string) [][]int
- func Day19ReadScipResults()
- func Day19Scip()
- func Day19TooSlow()
- func Day19WriteLPFile(folder string, id int, minutes int, a [][]int)
- func Day19WriteLPFiles()
- func Day2()
- func Day20()
- func Day21()
- func Day22()
- func Day23()
- func Day24()
- func Day25()
- func Day3()
- func Day4()
- func Day5()
- func Day6()
- func Day7()
- func Day8()
- func Day9()
- func FromSnafu(s string) int
- func IntervalIntersect(a0, a1, b0, b1 int) (int, int)
- func ListMoveCyclic(l *list.List, e *list.Element, n int)
- func ListSumElems(nums *list.List, xs []int, start *list.Element) int
- func ShortestPathsLee(n int, nbs func(i int) []int, canGo func(i, j int) bool, src int) (parent []int, dist []int)
- func ToSnafu(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignFuns ¶
func AssignFuns()
func Day19MaxGeodes ¶
func Day19ParseBlueprint ¶
func Day19ReadScipResults ¶
func Day19ReadScipResults()
func Day19Scip ¶
func Day19Scip()
Day19 Scip hack: generate LP files, run SCIP and parse results Apparently LP format is not much used anymore, but AMPL and GAMS are Google OR tools can read MPS files
func Day19TooSlow ¶
func Day19TooSlow()
func Day19WriteLPFiles ¶
func Day19WriteLPFiles()
func IntervalIntersect ¶
func ListMoveCyclic ¶
Cyclic moves of elements for advent ofcode 2022, day 20
func ShortestPathsLee ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.