diff --git a/2018/README.md b/2018/README.md new file mode 100644 index 0000000..8c11788 --- /dev/null +++ b/2018/README.md @@ -0,0 +1,11 @@ +# Advent of Code 2018 +Language: GoLang. + +[https://adventofcode.com/2018](https://adventofcode.com/2018) + +--- +## Summary +Day | Name | Type of Algo & Notes +--- | --- | --- +1 | Chronal Calibration | - Pretty simple, direct math problem +2 | diff --git a/2018/day01/input.txt b/2018/day01/input.txt new file mode 100644 index 0000000..422a6e0 --- /dev/null +++ b/2018/day01/input.txt @@ -0,0 +1,1028 @@ +-8 +-18 +-14 +-10 +-7 +-10 +-16 ++19 +-5 +-7 ++11 ++11 ++18 +-10 +-10 +-14 +-3 +-4 ++17 ++15 +-4 +-6 +-13 ++5 ++11 ++10 +-9 ++20 ++9 +-7 ++19 +-9 +-2 +-7 ++14 ++5 ++8 +-16 ++14 ++18 ++8 +-3 ++8 ++4 ++18 ++3 ++2 ++12 +-3 +-5 +-3 ++2 ++13 ++15 ++2 ++15 +-6 +-1 +-6 ++12 ++18 ++9 +-15 ++8 +-14 ++4 ++14 ++7 ++9 +-1 ++14 ++1 +-11 ++3 ++15 ++8 +-7 ++19 ++7 ++13 ++13 ++1 +-2 +-8 ++19 +-1 ++13 ++12 +-2 ++8 ++19 ++9 +-17 ++7 ++7 ++7 +-3 ++8 +-6 ++4 ++5 ++5 ++6 ++15 ++10 +-4 ++11 +-16 +-18 +-2 +-11 ++14 +-2 ++13 +-6 ++7 +-10 ++13 ++19 ++13 +-8 +-12 ++18 +-16 +-11 +-4 ++9 +-2 +-18 ++7 ++18 ++18 ++13 +-7 ++6 +-18 +-15 ++6 ++1 ++5 ++13 +-15 ++14 ++6 ++1 +-5 ++13 +-7 ++17 +-3 ++4 ++14 ++17 +-7 ++2 ++1 +-7 +-14 +-18 +-1 +-2 ++19 +-18 ++12 +-7 ++4 ++8 ++8 +-18 ++16 ++14 ++15 ++19 ++18 ++11 +-3 ++13 ++18 ++5 +-8 +-7 +-13 ++10 +-9 ++1 ++10 ++14 ++16 ++18 +-16 +-12 ++20 ++6 +-15 ++19 +-13 +-16 +-19 ++16 ++1 +-13 ++18 ++1 +-10 ++19 ++9 +-14 ++9 ++24 ++13 +-8 ++7 ++2 ++2 ++1 +-9 ++18 +-24 +-12 ++13 +-18 ++2 ++10 +-3 +-14 +-15 +-18 ++8 ++9 +-4 +-15 +-10 +-11 +-12 +-14 ++18 +-3 +-9 +-15 ++19 +-15 +-3 +-13 ++3 +-8 +-20 +-9 +-1 +-13 ++22 ++14 ++11 +-22 ++10 +-16 +-8 +-15 ++20 +-13 ++4 ++14 +-13 +-10 +-19 +-12 ++7 ++10 +-15 +-8 +-6 ++17 +-28 +-24 ++2 ++17 +-4 ++3 ++2 ++10 ++23 +-22 +-46 +-2 +-13 +-1 ++18 +-10 ++5 +-14 +-3 +-5 ++4 ++11 ++6 +-15 ++7 +-14 +-9 ++6 ++7 +-1 ++5 ++7 ++17 ++4 ++9 +-16 +-17 ++13 ++19 +-27 ++2 ++27 +-53 +-12 +-13 +-3 +-11 ++6 ++4 ++12 ++6 +-13 +-13 ++17 ++19 ++6 +-23 ++3 +-8 ++19 +-3 ++2 ++2 +-13 +-20 ++2 +-9 +-19 +-8 ++4 ++3 ++8 +-18 +-4 +-8 +-12 ++9 ++17 +-9 ++1 +-15 ++8 +-4 +-13 ++5 ++17 ++14 +-7 ++6 +-14 +-19 ++6 +-12 +-12 +-15 +-7 +-14 ++12 +-10 ++7 +-3 +-11 +-6 +-1 +-10 +-2 ++14 +-9 ++1 ++4 +-1 ++7 +-5 ++6 +-2 +-14 +-21 +-10 ++6 +-3 +-19 ++4 ++16 +-2 ++5 ++31 +-16 ++29 ++22 ++6 +-8 +-16 ++2 ++12 +-16 ++19 ++15 +-10 +-10 ++14 +-1 ++12 ++1 ++7 +-15 ++16 +-3 +-20 +-17 ++33 ++2 ++1 ++2 ++6 ++8 +-4 ++13 ++15 ++3 ++15 ++19 +-21 ++7 ++1 +-13 ++19 ++1 +-9 ++5 +-1 ++19 ++21 ++12 +-25 ++11 +-5 ++3 ++12 +-28 +-26 +-13 ++5 ++9 +-75 +-21 +-28 +-25 +-16 +-21 +-28 +-14 +-12 ++10 +-50 +-14 ++17 ++9 +-23 ++7 +-3 ++11 +-14 +-53 ++10 +-66 ++8 +-69 +-24 +-9 +-6 +-5 +-1 +-19 +-15 ++4 ++14 +-45 +-3 +-228 ++22 +-126 ++23 ++148 +-11 +-18 +-69453 +-15 +-11 +-2 +-17 ++20 +-9 ++12 +-15 +-6 +-10 +-14 +-9 ++19 +-1 +-8 ++18 +-6 +-11 ++15 +-6 +-18 +-10 +-4 +-20 ++8 +-22 ++3 +-17 ++4 +-25 +-11 +-19 ++18 ++18 +-13 +-21 ++11 ++3 +-7 ++17 +-11 ++9 ++13 +-27 +-6 ++1 +-15 +-19 +-14 +-8 ++11 +-18 +-2 ++18 +-4 +-4 +-7 +-5 +-13 ++1 +-18 +-14 +-13 ++16 +-13 ++19 +-2 ++9 ++9 +-10 +-7 ++10 +-21 ++2 ++12 ++12 +-17 +-5 +-19 ++10 +-7 ++1 ++18 +-23 +-18 ++3 +-11 +-3 +-14 ++1 +-8 ++2 +-8 +-4 +-20 ++18 +-5 ++3 +-14 +-4 +-16 ++2 ++17 ++18 ++6 +-4 ++19 ++13 +-18 ++14 +-3 ++12 +-19 ++11 ++14 ++9 ++19 ++19 +-2 ++7 ++13 +-2 ++11 ++20 +-18 ++11 ++9 +-16 +-10 +-15 ++7 ++13 ++17 ++5 ++7 +-19 ++17 ++12 ++12 +-11 ++18 +-9 ++11 +-3 ++16 +-14 +-7 ++9 +-13 ++19 +-4 ++9 ++8 ++15 ++5 ++18 +-5 +-8 ++9 ++19 ++16 ++5 ++14 +-9 ++13 ++4 ++9 +-4 +-19 +-23 ++18 ++10 ++34 ++20 ++8 ++15 ++10 ++3 +-14 ++6 ++18 +-12 +-9 +-29 +-19 ++8 ++20 +-4 +-13 ++2 +-18 ++11 ++9 +-19 +-101 +-19 ++17 +-13 +-25 +-19 +-23 +-18 +-7 ++17 +-9 +-21 +-15 +-10 +-18 ++19 +-18 +-10 ++14 ++2 +-5 ++7 +-12 +-3 ++9 ++11 +-6 ++16 ++8 +-7 ++24 ++17 ++18 ++11 ++6 ++2 +-5 ++8 +-1 ++12 ++18 +-1 ++19 ++16 +-12 +-18 +-15 +-22 ++12 +-14 ++11 +-3 ++24 +-20 ++8 +-32 +-5 +-48 ++17 ++16 +-81 ++1 ++18 +-7 +-21 ++12 +-17 +-15 +-17 ++7 +-3 +-5 +-22 +-19 +-14 +-10 +-4 +-3 +-5 ++13 +-18 ++6 +-18 +-9 ++5 +-18 +-19 ++5 ++13 ++10 +-12 +-3 ++17 +-1 +-14 ++19 ++11 +-1 ++7 ++13 ++15 ++16 ++6 ++2 +-1 ++17 +-10 +-4 +-16 +-6 +-10 ++1 ++12 +-4 +-20 ++7 +-15 ++3 +-11 ++4 ++10 +-11 ++18 +-20 +-5 +-4 ++2 +-16 +-17 ++1 +-10 +-7 +-8 +-24 ++11 +-22 ++3 +-17 +-16 +-12 ++9 +-17 +-11 +-7 ++3 +-18 ++11 +-1 +-9 ++6 +-3 +-7 ++15 ++2 ++11 +-16 ++23 ++11 ++20 ++3 +-20 +-18 ++7 +-8 +-1 +-3 ++21 ++11 +-4 +-11 ++19 ++14 +-12 ++6 ++9 ++19 +-21 ++19 +-12 +-3 ++14 +-7 ++2 +-10 +-23 +-23 +-1 ++8 ++11 +-4 +-6 ++25 ++51 ++12 ++28 ++6 ++5 ++12 ++18 ++17 +-3 +-20 ++1 +-23 ++3 ++16 +-4 ++28 ++20 ++19 +-11 +-13 ++6 ++15 ++5 ++14 ++6 +-14 ++7 ++11 ++11 ++10 ++12 +-4 +-15 +-30 +-14 +-11 ++7 +-15 ++30 ++12 +-36 +-21 ++8 +-4 +-16 ++3 ++25 ++6 +-9 +-18 ++34 ++15 ++12 ++34 ++20 +-9 +-21 ++2 +-21 ++67 ++3 +-27 +-65 ++4 +-116 +-16 ++15 +-2 ++8 ++1 +-28 ++20 ++25 ++12 ++49 ++158 +-25 +-5 ++126 ++9 +-40 +-44 ++41 +-137 +-196 ++11 +-229 ++8 +-108 +-5 ++11 ++9 ++24 +-61 +-3 ++19 +-64 ++3 ++31 ++202 +-10 +-454 ++56 ++11 +-29 +-10 +-6 +-126 +-135 +-1333 +-68305 ++17 ++16 ++6 ++13 +-11 +-18 ++13 +-4 +-5 ++18 +-7 ++9 ++8 +-4 ++15 ++4 +-9 +-17 +-14 +-17 ++9 ++12 ++15 ++14 +-13 ++15 ++13 ++6 ++19 +-18 +-3 +-10 +-5 ++141482 diff --git a/2018/day01/part1/main.go b/2018/day01/part1/main.go new file mode 100644 index 0000000..7912c6d --- /dev/null +++ b/2018/day01/part1/main.go @@ -0,0 +1,27 @@ +package main + +import ( + "adventofcode/util" + "fmt" + "strconv" + "strings" +) + +func main() { + input := util.ReadFile("../input.txt") + sli := strings.Split(input, "\n") + + var sum int + + for _, instruction := range sli { + sign := instruction[:1] + num, _ := strconv.Atoi(instruction[1:]) + if sign == "+" { + sum += num + } else { + sum -= num + } + } + + fmt.Println("Final sum", sum) +} diff --git a/2018/day01/part2/main.go b/2018/day01/part2/main.go new file mode 100644 index 0000000..d606b7f --- /dev/null +++ b/2018/day01/part2/main.go @@ -0,0 +1,34 @@ +package main + +import ( + "adventofcode/util" + "fmt" + "strconv" + "strings" +) + +func main() { + input := util.ReadFile("../input.txt") + sli := strings.Split(input, "\n") + + var sum int + seen := make(map[int]bool) + + for { + for _, instruction := range sli { + sign := instruction[:1] + num, _ := strconv.Atoi(instruction[1:]) + if sign == "+" { + sum += num + } else { + sum -= num + } + + if seen[sum] { + fmt.Println("Number seen twice is:", sum) + return + } + seen[sum] = true + } + } +} diff --git a/README.md b/2019/README.md similarity index 100% rename from README.md rename to 2019/README.md diff --git a/day01/main.go b/2019/day01/main.go similarity index 100% rename from day01/main.go rename to 2019/day01/main.go diff --git a/day01/prompt.txt b/2019/day01/prompt.txt similarity index 100% rename from day01/prompt.txt rename to 2019/day01/prompt.txt diff --git a/day02/input.txt b/2019/day02/input.txt similarity index 100% rename from day02/input.txt rename to 2019/day02/input.txt diff --git a/day02/part1/main.go b/2019/day02/part1/main.go similarity index 100% rename from day02/part1/main.go rename to 2019/day02/part1/main.go diff --git a/day02/part2/main.go b/2019/day02/part2/main.go similarity index 100% rename from day02/part2/main.go rename to 2019/day02/part2/main.go diff --git a/day02/prompt.txt b/2019/day02/prompt.txt similarity index 100% rename from day02/prompt.txt rename to 2019/day02/prompt.txt diff --git a/day03/input.txt b/2019/day03/input.txt similarity index 100% rename from day03/input.txt rename to 2019/day03/input.txt diff --git a/day03/part1/main.go b/2019/day03/part1/main.go similarity index 100% rename from day03/part1/main.go rename to 2019/day03/part1/main.go diff --git a/day03/part2/main.go b/2019/day03/part2/main.go similarity index 100% rename from day03/part2/main.go rename to 2019/day03/part2/main.go diff --git a/day03/prompt.txt b/2019/day03/prompt.txt similarity index 100% rename from day03/prompt.txt rename to 2019/day03/prompt.txt diff --git a/day04/input.txt b/2019/day04/input.txt similarity index 100% rename from day04/input.txt rename to 2019/day04/input.txt diff --git a/day04/part1/main.go b/2019/day04/part1/main.go similarity index 100% rename from day04/part1/main.go rename to 2019/day04/part1/main.go diff --git a/day04/part2/main.go b/2019/day04/part2/main.go similarity index 100% rename from day04/part2/main.go rename to 2019/day04/part2/main.go diff --git a/day04/prompt.txt b/2019/day04/prompt.txt similarity index 100% rename from day04/prompt.txt rename to 2019/day04/prompt.txt diff --git a/day05/input.txt b/2019/day05/input.txt similarity index 100% rename from day05/input.txt rename to 2019/day05/input.txt diff --git a/day05/part1/main.go b/2019/day05/part1/main.go similarity index 100% rename from day05/part1/main.go rename to 2019/day05/part1/main.go diff --git a/day05/part2/main.go b/2019/day05/part2/main.go similarity index 100% rename from day05/part2/main.go rename to 2019/day05/part2/main.go diff --git a/day05/prompt.txt b/2019/day05/prompt.txt similarity index 100% rename from day05/prompt.txt rename to 2019/day05/prompt.txt diff --git a/day06/input.txt b/2019/day06/input.txt similarity index 100% rename from day06/input.txt rename to 2019/day06/input.txt diff --git a/day06/part1/main.go b/2019/day06/part1/main.go similarity index 100% rename from day06/part1/main.go rename to 2019/day06/part1/main.go diff --git a/day06/part2/main.go b/2019/day06/part2/main.go similarity index 100% rename from day06/part2/main.go rename to 2019/day06/part2/main.go diff --git a/day06/prompt.txt b/2019/day06/prompt.txt similarity index 100% rename from day06/prompt.txt rename to 2019/day06/prompt.txt diff --git a/day07/input.txt b/2019/day07/input.txt similarity index 100% rename from day07/input.txt rename to 2019/day07/input.txt diff --git a/day07/part1/main.go b/2019/day07/part1/main.go similarity index 100% rename from day07/part1/main.go rename to 2019/day07/part1/main.go diff --git a/day07/part2/main.go b/2019/day07/part2/main.go similarity index 100% rename from day07/part2/main.go rename to 2019/day07/part2/main.go diff --git a/day07/prompt.txt b/2019/day07/prompt.txt similarity index 100% rename from day07/prompt.txt rename to 2019/day07/prompt.txt diff --git a/day08/input.txt b/2019/day08/input.txt similarity index 100% rename from day08/input.txt rename to 2019/day08/input.txt diff --git a/day08/part1/main.go b/2019/day08/part1/main.go similarity index 100% rename from day08/part1/main.go rename to 2019/day08/part1/main.go diff --git a/day08/part2/main.go b/2019/day08/part2/main.go similarity index 100% rename from day08/part2/main.go rename to 2019/day08/part2/main.go diff --git a/day08/prompt.txt b/2019/day08/prompt.txt similarity index 100% rename from day08/prompt.txt rename to 2019/day08/prompt.txt diff --git a/day09/input.txt b/2019/day09/input.txt similarity index 100% rename from day09/input.txt rename to 2019/day09/input.txt diff --git a/day09/part1/main.go b/2019/day09/part1/main.go similarity index 100% rename from day09/part1/main.go rename to 2019/day09/part1/main.go diff --git a/day09/part2/main.go b/2019/day09/part2/main.go similarity index 100% rename from day09/part2/main.go rename to 2019/day09/part2/main.go diff --git a/day10/input.txt b/2019/day10/input.txt similarity index 100% rename from day10/input.txt rename to 2019/day10/input.txt diff --git a/day10/part1/main.go b/2019/day10/part1/main.go similarity index 100% rename from day10/part1/main.go rename to 2019/day10/part1/main.go diff --git a/day10/part2/main.go b/2019/day10/part2/main.go similarity index 100% rename from day10/part2/main.go rename to 2019/day10/part2/main.go diff --git a/day10/part2/trig/trig.go b/2019/day10/part2/trig/trig.go similarity index 100% rename from day10/part2/trig/trig.go rename to 2019/day10/part2/trig/trig.go diff --git a/day10/prompt.txt b/2019/day10/prompt.txt similarity index 100% rename from day10/prompt.txt rename to 2019/day10/prompt.txt diff --git a/day11/input.txt b/2019/day11/input.txt similarity index 100% rename from day11/input.txt rename to 2019/day11/input.txt diff --git a/day11/part1/main.go b/2019/day11/part1/main.go similarity index 100% rename from day11/part1/main.go rename to 2019/day11/part1/main.go diff --git a/day11/part2/main.go b/2019/day11/part2/main.go similarity index 100% rename from day11/part2/main.go rename to 2019/day11/part2/main.go diff --git a/day11/prompt.txt b/2019/day11/prompt.txt similarity index 100% rename from day11/prompt.txt rename to 2019/day11/prompt.txt diff --git a/day12/input.txt b/2019/day12/input.txt similarity index 100% rename from day12/input.txt rename to 2019/day12/input.txt diff --git a/day12/part1/main.go b/2019/day12/part1/main.go similarity index 100% rename from day12/part1/main.go rename to 2019/day12/part1/main.go diff --git a/day12/part2/main.go b/2019/day12/part2/main.go similarity index 100% rename from day12/part2/main.go rename to 2019/day12/part2/main.go diff --git a/day12/prompt.txt b/2019/day12/prompt.txt similarity index 100% rename from day12/prompt.txt rename to 2019/day12/prompt.txt diff --git a/day13/input.txt b/2019/day13/input.txt similarity index 100% rename from day13/input.txt rename to 2019/day13/input.txt diff --git a/day13/part1/main.go b/2019/day13/part1/main.go similarity index 100% rename from day13/part1/main.go rename to 2019/day13/part1/main.go diff --git a/day13/part2/main.go b/2019/day13/part2/main.go similarity index 100% rename from day13/part2/main.go rename to 2019/day13/part2/main.go diff --git a/day13/prompt.txt b/2019/day13/prompt.txt similarity index 100% rename from day13/prompt.txt rename to 2019/day13/prompt.txt diff --git a/day14/input.txt b/2019/day14/input.txt similarity index 100% rename from day14/input.txt rename to 2019/day14/input.txt diff --git a/day14/part1/main.go b/2019/day14/part1/main.go similarity index 100% rename from day14/part1/main.go rename to 2019/day14/part1/main.go diff --git a/day14/part2/main.go b/2019/day14/part2/main.go similarity index 100% rename from day14/part2/main.go rename to 2019/day14/part2/main.go diff --git a/day14/prompt.txt b/2019/day14/prompt.txt similarity index 100% rename from day14/prompt.txt rename to 2019/day14/prompt.txt diff --git a/day15/input.txt b/2019/day15/input.txt similarity index 100% rename from day15/input.txt rename to 2019/day15/input.txt diff --git a/day15/part1/main.go b/2019/day15/part1/main.go similarity index 100% rename from day15/part1/main.go rename to 2019/day15/part1/main.go diff --git a/day15/part2/main.go b/2019/day15/part2/main.go similarity index 100% rename from day15/part2/main.go rename to 2019/day15/part2/main.go diff --git a/day15/prompt.txt b/2019/day15/prompt.txt similarity index 100% rename from day15/prompt.txt rename to 2019/day15/prompt.txt diff --git a/day16/input.txt b/2019/day16/input.txt similarity index 100% rename from day16/input.txt rename to 2019/day16/input.txt diff --git a/day16/part1/main.go b/2019/day16/part1/main.go similarity index 100% rename from day16/part1/main.go rename to 2019/day16/part1/main.go diff --git a/day16/part2/main.go b/2019/day16/part2/main.go similarity index 100% rename from day16/part2/main.go rename to 2019/day16/part2/main.go diff --git a/day16/prompt.txt b/2019/day16/prompt.txt similarity index 100% rename from day16/prompt.txt rename to 2019/day16/prompt.txt diff --git a/day17/input.txt b/2019/day17/input.txt similarity index 100% rename from day17/input.txt rename to 2019/day17/input.txt diff --git a/day17/part1/main.go b/2019/day17/part1/main.go similarity index 100% rename from day17/part1/main.go rename to 2019/day17/part1/main.go diff --git a/day17/part2/main.go b/2019/day17/part2/main.go similarity index 100% rename from day17/part2/main.go rename to 2019/day17/part2/main.go diff --git a/day17/prompt.txt b/2019/day17/prompt.txt similarity index 100% rename from day17/prompt.txt rename to 2019/day17/prompt.txt diff --git a/day18/input.txt b/2019/day18/input.txt similarity index 100% rename from day18/input.txt rename to 2019/day18/input.txt diff --git a/day18/part1/main.go b/2019/day18/part1/main.go similarity index 100% rename from day18/part1/main.go rename to 2019/day18/part1/main.go diff --git a/day18/part2/main.go b/2019/day18/part2/main.go similarity index 100% rename from day18/part2/main.go rename to 2019/day18/part2/main.go diff --git a/day18/prompt.txt b/2019/day18/prompt.txt similarity index 100% rename from day18/prompt.txt rename to 2019/day18/prompt.txt diff --git a/day19/input.txt b/2019/day19/input.txt similarity index 100% rename from day19/input.txt rename to 2019/day19/input.txt diff --git a/day19/part1/main.go b/2019/day19/part1/main.go similarity index 100% rename from day19/part1/main.go rename to 2019/day19/part1/main.go diff --git a/day19/part2/main.go b/2019/day19/part2/main.go similarity index 100% rename from day19/part2/main.go rename to 2019/day19/part2/main.go diff --git a/day19/prompt.txt b/2019/day19/prompt.txt similarity index 100% rename from day19/prompt.txt rename to 2019/day19/prompt.txt diff --git a/day20/input.txt b/2019/day20/input.txt similarity index 100% rename from day20/input.txt rename to 2019/day20/input.txt diff --git a/day20/part1/main.go b/2019/day20/part1/main.go similarity index 100% rename from day20/part1/main.go rename to 2019/day20/part1/main.go diff --git a/day20/part2/main.go b/2019/day20/part2/main.go similarity index 100% rename from day20/part2/main.go rename to 2019/day20/part2/main.go diff --git a/day20/prompt.txt b/2019/day20/prompt.txt similarity index 100% rename from day20/prompt.txt rename to 2019/day20/prompt.txt diff --git a/day21/input.txt b/2019/day21/input.txt similarity index 100% rename from day21/input.txt rename to 2019/day21/input.txt diff --git a/day21/part1/main.go b/2019/day21/part1/main.go similarity index 100% rename from day21/part1/main.go rename to 2019/day21/part1/main.go diff --git a/day21/part2/main.go b/2019/day21/part2/main.go similarity index 100% rename from day21/part2/main.go rename to 2019/day21/part2/main.go diff --git a/day21/prompt.txt b/2019/day21/prompt.txt similarity index 100% rename from day21/prompt.txt rename to 2019/day21/prompt.txt diff --git a/day22/input.txt b/2019/day22/input.txt similarity index 100% rename from day22/input.txt rename to 2019/day22/input.txt diff --git a/day22/part1/main.go b/2019/day22/part1/main.go similarity index 100% rename from day22/part1/main.go rename to 2019/day22/part1/main.go diff --git a/day22/part2/main.go b/2019/day22/part2/main.go similarity index 100% rename from day22/part2/main.go rename to 2019/day22/part2/main.go diff --git a/day22/prompt.txt b/2019/day22/prompt.txt similarity index 100% rename from day22/prompt.txt rename to 2019/day22/prompt.txt diff --git a/day23/input.txt b/2019/day23/input.txt similarity index 100% rename from day23/input.txt rename to 2019/day23/input.txt diff --git a/day23/part1/main.go b/2019/day23/part1/main.go similarity index 100% rename from day23/part1/main.go rename to 2019/day23/part1/main.go diff --git a/day23/part2/main.go b/2019/day23/part2/main.go similarity index 100% rename from day23/part2/main.go rename to 2019/day23/part2/main.go diff --git a/day23/prompt.txt b/2019/day23/prompt.txt similarity index 100% rename from day23/prompt.txt rename to 2019/day23/prompt.txt diff --git a/day24/input.txt b/2019/day24/input.txt similarity index 100% rename from day24/input.txt rename to 2019/day24/input.txt diff --git a/day24/part1/main.go b/2019/day24/part1/main.go similarity index 100% rename from day24/part1/main.go rename to 2019/day24/part1/main.go diff --git a/day24/part2/main.go b/2019/day24/part2/main.go similarity index 100% rename from day24/part2/main.go rename to 2019/day24/part2/main.go diff --git a/day24/prompt.txt b/2019/day24/prompt.txt similarity index 100% rename from day24/prompt.txt rename to 2019/day24/prompt.txt diff --git a/day25/floorplan.md b/2019/day25/floorplan.md similarity index 100% rename from day25/floorplan.md rename to 2019/day25/floorplan.md diff --git a/day25/input.txt b/2019/day25/input.txt similarity index 100% rename from day25/input.txt rename to 2019/day25/input.txt diff --git a/day25/part1/main.go b/2019/day25/part1/main.go similarity index 100% rename from day25/part1/main.go rename to 2019/day25/part1/main.go diff --git a/day25/part2/main.go b/2019/day25/part2/main.go similarity index 100% rename from day25/part2/main.go rename to 2019/day25/part2/main.go diff --git a/day25/prompt.txt b/2019/day25/prompt.txt similarity index 100% rename from day25/prompt.txt rename to 2019/day25/prompt.txt