cleanup, 2015-01 to 2015-05

This commit is contained in:
Evan Burkey 2024-07-24 11:03:39 -07:00
parent 5aad8c387f
commit 2357f02bd4
230 changed files with 665 additions and 485 deletions

View File

@ -10,4 +10,4 @@ The script can then be run with `bash get_input.sh SESSIONCOOKIE`, with `SESSION
## Usage ## Usage
Runs Run the program and enter the year and date as prompted

View File

@ -1,12 +1,12 @@
package aoc2015 package aoc2015
import ( import (
"aoc/internal/input" "aoc/internal/utility"
"fmt" "fmt"
) )
func day01() { func day01() {
in := input.GetInput("input/2015/01") in := utility.GetInput("input/2015/01")
floor, p2 := 0, 0 floor, p2 := 0, 0
found := false found := false

View File

@ -1,9 +1,21 @@
package aoc2015 package aoc2015
import "fmt" import (
"aoc/internal/utility"
"fmt"
)
func day02() { func day02() {
//in := input.GetInput("input/2015/test") in := utility.GetLines("input/2015/02")
//in := input.GetInput("input/2015/02") var h, w, l, p1, p2 int
fmt.Println("2015-02 is not implemented yet")
for _, line := range in {
_, err := fmt.Sscanf(line, "%dx%dx%d", &l, &w, &h)
utility.E(err)
p1 += 2*l*w + 2*w*h + 2*h*l + min(l*w, min(w*h, h*l))
p2 += l*w*h + min(l*2+w*2, min(w*2+h*2, h*2+l*2))
}
fmt.Println(p1)
fmt.Println(p2)
} }

View File

@ -1,9 +1,71 @@
package aoc2015 package aoc2015
import "fmt" import (
"aoc/internal/utility"
"errors"
"fmt"
)
func day03part1(in string) {
var x, y int
houses := make(map[utility.Point]int)
houses[utility.NewPoint(0, 0)]++
for _, c := range in {
switch c {
case '<':
x--
case '>':
x++
case 'v':
y--
case '^':
y++
default:
utility.E(errors.New("unknown input"))
}
houses[utility.NewPoint(x, y)]++
}
fmt.Println(len(houses))
}
func day03part2(in string) {
var (
sx, sy, rx, ry int
x, y *int
)
houses := make(map[utility.Point]int)
houses[utility.NewPoint(0, 0)]++
for i, c := range in {
if i%2 == 0 {
x = &sx
y = &sy
} else {
x = &rx
y = &ry
}
switch c {
case '<':
*x--
case '>':
*x++
case 'v':
*y--
case '^':
*y++
default:
utility.E(errors.New("unknown input"))
}
houses[utility.NewPoint(*x, *y)]++
}
fmt.Println(len(houses))
}
func day03() { func day03() {
//in := input.GetInput("input/2015/test") in := utility.GetInput("input/2015/03")
//in := input.GetInput("input/2015/03") day03part1(in)
fmt.Println("2015-03 is not implemented yet") day03part2(in)
} }

View File

@ -1,9 +1,27 @@
package aoc2015 package aoc2015
import "fmt" import (
"aoc/internal/utility"
"fmt"
"strings"
)
func day04() { func day04() {
//in := input.GetInput("input/2015/test") in := "yzbqklnj"
//in := input.GetInput("input/2015/04") fmt.Println("Takes a few seconds....")
fmt.Println("2015-04 is not implemented yet") var p1 int
c := 1
for {
hash := utility.GetMD5Hash(fmt.Sprintf("%s%d", in, c))
if p1 == 0 && strings.HasPrefix(hash, "00000") {
p1 = c
fmt.Println(p1)
}
if strings.HasPrefix(hash, "000000") {
fmt.Println(c)
break
}
c++
}
} }

View File

@ -1,9 +1,72 @@
package aoc2015 package aoc2015
import "fmt" import (
"aoc/internal/utility"
"fmt"
"strings"
)
const vowels = "aeiou"
func day05part1(in string) int {
m := utility.RuneMap(in)
inVowels := 0
for _, v := range vowels {
inVowels += m[v]
}
if inVowels < 3 {
return 0
}
doubled := false
for i := 1; i < len(in); i++ {
if in[i-1] == in[i] {
doubled = true
break
}
}
if !doubled {
return 0
}
for _, set := range []string{"ab", "cd", "pq", "xy"} {
if strings.Contains(in, set) {
return 0
}
}
return 1
}
func day05part2(in string) int {
doubled := false
for i := 1; i < len(in); i++ {
if strings.Contains(in[i+1:], in[i-1:i+1]) {
doubled = true
break
}
}
if !doubled {
return 0
}
for i := 2; i < len(in); i++ {
if in[i-2] == in[i] {
return 1
}
}
return 0
}
func day05() { func day05() {
//in := input.GetInput("input/2015/test") in := utility.GetLines("input/2015/05")
//in := input.GetInput("input/2015/05") var p1, p2 int
fmt.Println("2015-05 is not implemented yet") for _, line := range in {
p1 += day05part1(line)
p2 += day05part2(line)
}
fmt.Println(p1)
fmt.Println(p2)
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@ package aoc2018
import "fmt" import "fmt"
func day20() { func day20() {
//in := input.GetInput("input/2018/test") //in := utility.GetInput("input/2018/test")
//in := input.GetInput("input/2018/20") //in := utility.GetInput("input/2018/20")
fmt.Println("2018-20 is not implemented yet") fmt.Println("2018-20 is not implemented yet")
} }

View File

@ -3,7 +3,7 @@ package aoc2018
import "fmt" import "fmt"
func day21() { func day21() {
//in := input.GetInput("input/2018/test") //in := utility.GetInput("input/2018/test")
//in := input.GetInput("input/2018/21") //in := utility.GetInput("input/2018/21")
fmt.Println("2018-21 is not implemented yet") fmt.Println("2018-21 is not implemented yet")
} }

View File

@ -3,7 +3,7 @@ package aoc2018
import "fmt" import "fmt"
func day22() { func day22() {
//in := input.GetInput("input/2018/test") //in := utility.GetInput("input/2018/test")
//in := input.GetInput("input/2018/22") //in := utility.GetInput("input/2018/22")
fmt.Println("2018-22 is not implemented yet") fmt.Println("2018-22 is not implemented yet")
} }

View File

@ -3,7 +3,7 @@ package aoc2018
import "fmt" import "fmt"
func day23() { func day23() {
//in := input.GetInput("input/2018/test") //in := utility.GetInput("input/2018/test")
//in := input.GetInput("input/2018/23") //in := utility.GetInput("input/2018/23")
fmt.Println("2018-23 is not implemented yet") fmt.Println("2018-23 is not implemented yet")
} }

View File

@ -3,7 +3,7 @@ package aoc2018
import "fmt" import "fmt"
func day24() { func day24() {
//in := input.GetInput("input/2018/test") //in := utility.GetInput("input/2018/test")
//in := input.GetInput("input/2018/24") //in := utility.GetInput("input/2018/24")
fmt.Println("2018-24 is not implemented yet") fmt.Println("2018-24 is not implemented yet")
} }

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