This commit is contained in:
Evan Burkey 2024-07-24 07:29:59 -07:00
commit 5aad8c387f
477 changed files with 88925 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea

5
LICENSE Normal file
View File

@ -0,0 +1,5 @@
Copyright 2020 Evan Burkey <dev@fputs.com>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# aoc
Advent Of Code solutions using Go
## Inputs
Inputs can be generated from `get_input.sh`. You will need to get your session cookie from the Advent of Code website. The easiest way to do this is to inspect any input page in your browser.
The script can then be run with `bash get_input.sh SESSIONCOOKIE`, with `SESSIONCOOKIE` replaced by your unique session cookie's hash.
## Usage
Runs

27
aoc2015/day01.go Normal file
View File

@ -0,0 +1,27 @@
package aoc2015
import (
"aoc/internal/input"
"fmt"
)
func day01() {
in := input.GetInput("input/2015/01")
floor, p2 := 0, 0
found := false
for i, c := range in {
if c == '(' {
floor++
} else {
floor--
}
if floor == -1 && !found {
found = true
p2 = i + 1
}
}
fmt.Println(floor)
fmt.Println(p2)
}

9
aoc2015/day02.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day02() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/02")
fmt.Println("2015-02 is not implemented yet")
}

9
aoc2015/day03.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day03() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/03")
fmt.Println("2015-03 is not implemented yet")
}

9
aoc2015/day04.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day04() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/04")
fmt.Println("2015-04 is not implemented yet")
}

9
aoc2015/day05.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day05() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/05")
fmt.Println("2015-05 is not implemented yet")
}

9
aoc2015/day06.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day06() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/06")
fmt.Println("2015-06 is not implemented yet")
}

9
aoc2015/day07.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day07() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/07")
fmt.Println("2015-07 is not implemented yet")
}

9
aoc2015/day08.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day08() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/08")
fmt.Println("2015-08 is not implemented yet")
}

9
aoc2015/day09.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day09() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/09")
fmt.Println("2015-09 is not implemented yet")
}

9
aoc2015/day10.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day10() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/10")
fmt.Println("2015-10 is not implemented yet")
}

9
aoc2015/day11.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day11() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/11")
fmt.Println("2015-11 is not implemented yet")
}

9
aoc2015/day12.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day12() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/12")
fmt.Println("2015-12 is not implemented yet")
}

9
aoc2015/day13.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day13() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/13")
fmt.Println("2015-13 is not implemented yet")
}

9
aoc2015/day14.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day14() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/14")
fmt.Println("2015-14 is not implemented yet")
}

9
aoc2015/day15.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day15() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/15")
fmt.Println("2015-15 is not implemented yet")
}

9
aoc2015/day16.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day16() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/16")
fmt.Println("2015-16 is not implemented yet")
}

9
aoc2015/day17.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day17() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/17")
fmt.Println("2015-17 is not implemented yet")
}

9
aoc2015/day18.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day18() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/18")
fmt.Println("2015-18 is not implemented yet")
}

9
aoc2015/day19.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day19() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/19")
fmt.Println("2015-19 is not implemented yet")
}

9
aoc2015/day20.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day20() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/20")
fmt.Println("2015-20 is not implemented yet")
}

9
aoc2015/day21.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day21() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/21")
fmt.Println("2015-21 is not implemented yet")
}

9
aoc2015/day22.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day22() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/22")
fmt.Println("2015-22 is not implemented yet")
}

9
aoc2015/day23.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day23() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/23")
fmt.Println("2015-23 is not implemented yet")
}

9
aoc2015/day24.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day24() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/24")
fmt.Println("2015-24 is not implemented yet")
}

9
aoc2015/day25.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2015
import "fmt"
func day25() {
//in := input.GetInput("input/2015/test")
//in := input.GetInput("input/2015/25")
fmt.Println("2015-25 is not implemented yet")
}

37
aoc2015/runner.go Normal file
View File

@ -0,0 +1,37 @@
package aoc2015
import "fmt"
type Runner struct{}
func (r Runner) Run(day int) {
switch day {
case 1: day01()
case 2: day02()
case 3: day03()
case 4: day04()
case 5: day05()
case 6: day06()
case 7: day07()
case 8: day08()
case 9: day09()
case 10: day10()
case 11: day11()
case 12: day12()
case 13: day13()
case 14: day14()
case 15: day15()
case 16: day16()
case 17: day17()
case 18: day18()
case 19: day19()
case 20: day20()
case 21: day21()
case 22: day22()
case 23: day23()
case 24: day24()
case 25: day25()
default:
fmt.Println("Unknown day in 2015: ", day)
}
}

9
aoc2016/day01.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day01() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/01")
fmt.Println("2016-01 is not implemented yet")
}

9
aoc2016/day02.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day02() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/02")
fmt.Println("2016-02 is not implemented yet")
}

9
aoc2016/day03.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day03() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/03")
fmt.Println("2016-03 is not implemented yet")
}

9
aoc2016/day04.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day04() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/04")
fmt.Println("2016-04 is not implemented yet")
}

9
aoc2016/day05.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day05() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/05")
fmt.Println("2016-05 is not implemented yet")
}

9
aoc2016/day06.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day06() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/06")
fmt.Println("2016-06 is not implemented yet")
}

9
aoc2016/day07.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day07() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/07")
fmt.Println("2016-07 is not implemented yet")
}

9
aoc2016/day08.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day08() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/08")
fmt.Println("2016-08 is not implemented yet")
}

9
aoc2016/day09.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day09() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/09")
fmt.Println("2016-09 is not implemented yet")
}

9
aoc2016/day10.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day10() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/10")
fmt.Println("2016-10 is not implemented yet")
}

9
aoc2016/day11.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day11() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/11")
fmt.Println("2016-11 is not implemented yet")
}

9
aoc2016/day12.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day12() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/12")
fmt.Println("2016-12 is not implemented yet")
}

9
aoc2016/day13.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day13() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/13")
fmt.Println("2016-13 is not implemented yet")
}

9
aoc2016/day14.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day14() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/14")
fmt.Println("2016-14 is not implemented yet")
}

9
aoc2016/day15.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day15() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/15")
fmt.Println("2016-15 is not implemented yet")
}

9
aoc2016/day16.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day16() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/16")
fmt.Println("2016-16 is not implemented yet")
}

9
aoc2016/day17.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day17() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/17")
fmt.Println("2016-17 is not implemented yet")
}

9
aoc2016/day18.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day18() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/18")
fmt.Println("2016-18 is not implemented yet")
}

9
aoc2016/day19.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day19() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/19")
fmt.Println("2016-19 is not implemented yet")
}

9
aoc2016/day20.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day20() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/20")
fmt.Println("2016-20 is not implemented yet")
}

9
aoc2016/day21.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day21() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/21")
fmt.Println("2016-21 is not implemented yet")
}

9
aoc2016/day22.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day22() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/22")
fmt.Println("2016-22 is not implemented yet")
}

9
aoc2016/day23.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day23() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/23")
fmt.Println("2016-23 is not implemented yet")
}

9
aoc2016/day24.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day24() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/24")
fmt.Println("2016-24 is not implemented yet")
}

9
aoc2016/day25.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2016
import "fmt"
func day25() {
//in := input.GetInput("input/2016/test")
//in := input.GetInput("input/2016/25")
fmt.Println("2016-25 is not implemented yet")
}

37
aoc2016/runner.go Normal file
View File

@ -0,0 +1,37 @@
package aoc2016
import "fmt"
type Runner struct{}
func (r Runner) Run(day int) {
switch day {
case 1: day01()
case 2: day02()
case 3: day03()
case 4: day04()
case 5: day05()
case 6: day06()
case 7: day07()
case 8: day08()
case 9: day09()
case 10: day10()
case 11: day11()
case 12: day12()
case 13: day13()
case 14: day14()
case 15: day15()
case 16: day16()
case 17: day17()
case 18: day18()
case 19: day19()
case 20: day20()
case 21: day21()
case 22: day22()
case 23: day23()
case 24: day24()
case 25: day25()
default:
fmt.Println("Unknown day in 2016: ", day)
}
}

9
aoc2017/day01.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day01() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/01")
fmt.Println("2017-01 is not implemented yet")
}

9
aoc2017/day02.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day02() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/02")
fmt.Println("2017-02 is not implemented yet")
}

9
aoc2017/day03.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day03() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/03")
fmt.Println("2017-03 is not implemented yet")
}

9
aoc2017/day04.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day04() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/04")
fmt.Println("2017-04 is not implemented yet")
}

9
aoc2017/day05.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day05() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/05")
fmt.Println("2017-05 is not implemented yet")
}

9
aoc2017/day06.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day06() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/06")
fmt.Println("2017-06 is not implemented yet")
}

9
aoc2017/day07.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day07() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/07")
fmt.Println("2017-07 is not implemented yet")
}

9
aoc2017/day08.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day08() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/08")
fmt.Println("2017-08 is not implemented yet")
}

9
aoc2017/day09.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day09() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/09")
fmt.Println("2017-09 is not implemented yet")
}

9
aoc2017/day10.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day10() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/10")
fmt.Println("2017-10 is not implemented yet")
}

9
aoc2017/day11.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day11() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/11")
fmt.Println("2017-11 is not implemented yet")
}

9
aoc2017/day12.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day12() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/12")
fmt.Println("2017-12 is not implemented yet")
}

9
aoc2017/day13.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day13() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/13")
fmt.Println("2017-13 is not implemented yet")
}

9
aoc2017/day14.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day14() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/14")
fmt.Println("2017-14 is not implemented yet")
}

9
aoc2017/day15.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day15() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/15")
fmt.Println("2017-15 is not implemented yet")
}

9
aoc2017/day16.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day16() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/16")
fmt.Println("2017-16 is not implemented yet")
}

9
aoc2017/day17.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day17() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/17")
fmt.Println("2017-17 is not implemented yet")
}

9
aoc2017/day18.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day18() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/18")
fmt.Println("2017-18 is not implemented yet")
}

9
aoc2017/day19.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day19() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/19")
fmt.Println("2017-19 is not implemented yet")
}

9
aoc2017/day20.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day20() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/20")
fmt.Println("2017-20 is not implemented yet")
}

9
aoc2017/day21.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day21() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/21")
fmt.Println("2017-21 is not implemented yet")
}

9
aoc2017/day22.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day22() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/22")
fmt.Println("2017-22 is not implemented yet")
}

9
aoc2017/day23.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day23() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/23")
fmt.Println("2017-23 is not implemented yet")
}

9
aoc2017/day24.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day24() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/24")
fmt.Println("2017-24 is not implemented yet")
}

9
aoc2017/day25.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2017
import "fmt"
func day25() {
//in := input.GetInput("input/2017/test")
//in := input.GetInput("input/2017/25")
fmt.Println("2017-25 is not implemented yet")
}

37
aoc2017/runner.go Normal file
View File

@ -0,0 +1,37 @@
package aoc2017
import "fmt"
type Runner struct{}
func (r Runner) Run(day int) {
switch day {
case 1: day01()
case 2: day02()
case 3: day03()
case 4: day04()
case 5: day05()
case 6: day06()
case 7: day07()
case 8: day08()
case 9: day09()
case 10: day10()
case 11: day11()
case 12: day12()
case 13: day13()
case 14: day14()
case 15: day15()
case 16: day16()
case 17: day17()
case 18: day18()
case 19: day19()
case 20: day20()
case 21: day21()
case 22: day22()
case 23: day23()
case 24: day24()
case 25: day25()
default:
fmt.Println("Unknown day in 2017: ", day)
}
}

9
aoc2018/day01.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day01() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/01")
fmt.Println("2018-01 is not implemented yet")
}

9
aoc2018/day02.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day02() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/02")
fmt.Println("2018-02 is not implemented yet")
}

9
aoc2018/day03.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day03() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/03")
fmt.Println("2018-03 is not implemented yet")
}

9
aoc2018/day04.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day04() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/04")
fmt.Println("2018-04 is not implemented yet")
}

9
aoc2018/day05.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day05() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/05")
fmt.Println("2018-05 is not implemented yet")
}

9
aoc2018/day06.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day06() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/06")
fmt.Println("2018-06 is not implemented yet")
}

9
aoc2018/day07.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day07() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/07")
fmt.Println("2018-07 is not implemented yet")
}

9
aoc2018/day08.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day08() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/08")
fmt.Println("2018-08 is not implemented yet")
}

9
aoc2018/day09.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day09() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/09")
fmt.Println("2018-09 is not implemented yet")
}

9
aoc2018/day10.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day10() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/10")
fmt.Println("2018-10 is not implemented yet")
}

9
aoc2018/day11.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day11() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/11")
fmt.Println("2018-11 is not implemented yet")
}

9
aoc2018/day12.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day12() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/12")
fmt.Println("2018-12 is not implemented yet")
}

9
aoc2018/day13.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day13() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/13")
fmt.Println("2018-13 is not implemented yet")
}

9
aoc2018/day14.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day14() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/14")
fmt.Println("2018-14 is not implemented yet")
}

9
aoc2018/day15.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day15() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/15")
fmt.Println("2018-15 is not implemented yet")
}

9
aoc2018/day16.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day16() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/16")
fmt.Println("2018-16 is not implemented yet")
}

9
aoc2018/day17.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day17() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/17")
fmt.Println("2018-17 is not implemented yet")
}

9
aoc2018/day18.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day18() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/18")
fmt.Println("2018-18 is not implemented yet")
}

9
aoc2018/day19.go Normal file
View File

@ -0,0 +1,9 @@
package aoc2018
import "fmt"
func day19() {
//in := input.GetInput("input/2018/test")
//in := input.GetInput("input/2018/19")
fmt.Println("2018-19 is not implemented yet")
}

Some files were not shown because too many files have changed in this diff Show More