Poetry stuff.
This commit is contained in:
10
src/holt59/aoc/inputs/tests/2021/day1.txt
Normal file
10
src/holt59/aoc/inputs/tests/2021/day1.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
199
|
||||
200
|
||||
208
|
||||
210
|
||||
200
|
||||
207
|
||||
240
|
||||
269
|
||||
260
|
||||
263
|
0
src/holt59/aoc/inputs/tests/2021/day10.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day10.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day11.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day11.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day12.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day12.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day13.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day13.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day14.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day14.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day15.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day15.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day16.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day16.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day17.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day17.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day18.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day18.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day19.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day19.txt
Normal file
6
src/holt59/aoc/inputs/tests/2021/day2.txt
Normal file
6
src/holt59/aoc/inputs/tests/2021/day2.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
forward 5
|
||||
down 5
|
||||
forward 8
|
||||
up 3
|
||||
down 8
|
||||
forward 2
|
0
src/holt59/aoc/inputs/tests/2021/day20.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day20.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day21.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day21.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day22.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day22.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day23.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day23.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day24.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day24.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day25.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day25.txt
Normal file
12
src/holt59/aoc/inputs/tests/2021/day3.txt
Normal file
12
src/holt59/aoc/inputs/tests/2021/day3.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
00100
|
||||
11110
|
||||
10110
|
||||
10111
|
||||
10101
|
||||
01111
|
||||
00111
|
||||
11100
|
||||
10000
|
||||
11001
|
||||
00010
|
||||
01010
|
19
src/holt59/aoc/inputs/tests/2021/day4.txt
Normal file
19
src/holt59/aoc/inputs/tests/2021/day4.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
7,4,9,5,11,17,23,2,0,14,21,24,10,16,13,6,15,25,12,22,18,20,8,19,3,26,1
|
||||
|
||||
22 13 17 11 0
|
||||
8 2 23 4 24
|
||||
21 9 14 16 7
|
||||
6 10 3 18 5
|
||||
1 12 20 15 19
|
||||
|
||||
3 15 0 2 22
|
||||
9 18 13 17 5
|
||||
19 8 7 25 23
|
||||
20 11 10 24 4
|
||||
14 21 16 12 6
|
||||
|
||||
14 21 17 24 4
|
||||
10 16 15 9 19
|
||||
18 8 23 26 20
|
||||
22 11 13 6 5
|
||||
2 0 12 3 7
|
0
src/holt59/aoc/inputs/tests/2021/day5.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day5.txt
Normal file
1
src/holt59/aoc/inputs/tests/2021/day6.txt
Normal file
1
src/holt59/aoc/inputs/tests/2021/day6.txt
Normal file
@@ -0,0 +1 @@
|
||||
3,4,3,1,2
|
1
src/holt59/aoc/inputs/tests/2021/day7.txt
Normal file
1
src/holt59/aoc/inputs/tests/2021/day7.txt
Normal file
@@ -0,0 +1 @@
|
||||
16,1,2,0,4,2,7,1,2,14
|
10
src/holt59/aoc/inputs/tests/2021/day8.txt
Normal file
10
src/holt59/aoc/inputs/tests/2021/day8.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
be cfbegad cbdgef fgaecd cgeb fdcge agebfd fecdb fabcd edb | fdgacbe cefdb cefbgd gcbe
|
||||
edbfga begcd cbg gc gcadebf fbgde acbgfd abcde gfcbed gfec | fcgedb cgb dgebacf gc
|
||||
fgaebd cg bdaec gdafb agbcfd gdcbef bgcad gfac gcb cdgabef | cg cg fdcagb cbg
|
||||
fbegcd cbd adcefb dageb afcb bc aefdc ecdab fgdeca fcdbega | efabcd cedba gadfec cb
|
||||
aecbfdg fbg gf bafeg dbefa fcge gcbea fcaegb dgceab fcbdga | gecf egdcabf bgf bfgea
|
||||
fgeab ca afcebg bdacfeg cfaedg gcfdb baec bfadeg bafgc acf | gebdcfa ecba ca fadegcb
|
||||
dbcfg fgd bdegcaf fgec aegbdf ecdfab fbedc dacgb gdcebf gf | cefg dcbef fcge gbcadfe
|
||||
bdfegc cbegaf gecbf dfcage bdacg ed bedf ced adcbefg gebcd | ed bcgafe cdgba cbgef
|
||||
egadfb cdbfeg cegd fecab cgb gbdefca cg fgcdab egfdb bfceg | gbdfcae bgc cg cgb
|
||||
gcafb gcf dcaebfg ecagb gf abcdeg gaef cafbge fdbac fegbdc | fgae cfgab fg bagce
|
0
src/holt59/aoc/inputs/tests/2021/day9.txt
Normal file
0
src/holt59/aoc/inputs/tests/2021/day9.txt
Normal file
14
src/holt59/aoc/inputs/tests/2022/day1.txt
Normal file
14
src/holt59/aoc/inputs/tests/2022/day1.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
1000
|
||||
2000
|
||||
3000
|
||||
|
||||
4000
|
||||
|
||||
5000
|
||||
6000
|
||||
|
||||
7000
|
||||
8000
|
||||
9000
|
||||
|
||||
10000
|
146
src/holt59/aoc/inputs/tests/2022/day10.txt
Normal file
146
src/holt59/aoc/inputs/tests/2022/day10.txt
Normal file
@@ -0,0 +1,146 @@
|
||||
addx 15
|
||||
addx -11
|
||||
addx 6
|
||||
addx -3
|
||||
addx 5
|
||||
addx -1
|
||||
addx -8
|
||||
addx 13
|
||||
addx 4
|
||||
noop
|
||||
addx -1
|
||||
addx 5
|
||||
addx -1
|
||||
addx 5
|
||||
addx -1
|
||||
addx 5
|
||||
addx -1
|
||||
addx 5
|
||||
addx -1
|
||||
addx -35
|
||||
addx 1
|
||||
addx 24
|
||||
addx -19
|
||||
addx 1
|
||||
addx 16
|
||||
addx -11
|
||||
noop
|
||||
noop
|
||||
addx 21
|
||||
addx -15
|
||||
noop
|
||||
noop
|
||||
addx -3
|
||||
addx 9
|
||||
addx 1
|
||||
addx -3
|
||||
addx 8
|
||||
addx 1
|
||||
addx 5
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx -36
|
||||
noop
|
||||
addx 1
|
||||
addx 7
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx 2
|
||||
addx 6
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx 1
|
||||
noop
|
||||
noop
|
||||
addx 7
|
||||
addx 1
|
||||
noop
|
||||
addx -13
|
||||
addx 13
|
||||
addx 7
|
||||
noop
|
||||
addx 1
|
||||
addx -33
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx 2
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx 8
|
||||
noop
|
||||
addx -1
|
||||
addx 2
|
||||
addx 1
|
||||
noop
|
||||
addx 17
|
||||
addx -9
|
||||
addx 1
|
||||
addx 1
|
||||
addx -3
|
||||
addx 11
|
||||
noop
|
||||
noop
|
||||
addx 1
|
||||
noop
|
||||
addx 1
|
||||
noop
|
||||
noop
|
||||
addx -13
|
||||
addx -19
|
||||
addx 1
|
||||
addx 3
|
||||
addx 26
|
||||
addx -30
|
||||
addx 12
|
||||
addx -1
|
||||
addx 3
|
||||
addx 1
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx -9
|
||||
addx 18
|
||||
addx 1
|
||||
addx 2
|
||||
noop
|
||||
noop
|
||||
addx 9
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx -1
|
||||
addx 2
|
||||
addx -37
|
||||
addx 1
|
||||
addx 3
|
||||
noop
|
||||
addx 15
|
||||
addx -21
|
||||
addx 22
|
||||
addx -6
|
||||
addx 1
|
||||
noop
|
||||
addx 2
|
||||
addx 1
|
||||
noop
|
||||
addx -10
|
||||
noop
|
||||
noop
|
||||
addx 20
|
||||
addx 1
|
||||
addx 2
|
||||
addx 2
|
||||
addx -6
|
||||
addx -11
|
||||
noop
|
||||
noop
|
||||
noop
|
27
src/holt59/aoc/inputs/tests/2022/day11.txt
Normal file
27
src/holt59/aoc/inputs/tests/2022/day11.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
Monkey 0:
|
||||
Starting items: 79, 98
|
||||
Operation: new = old * 19
|
||||
Test: divisible by 23
|
||||
If true: throw to monkey 2
|
||||
If false: throw to monkey 3
|
||||
|
||||
Monkey 1:
|
||||
Starting items: 54, 65, 75, 74
|
||||
Operation: new = old + 6
|
||||
Test: divisible by 19
|
||||
If true: throw to monkey 2
|
||||
If false: throw to monkey 0
|
||||
|
||||
Monkey 2:
|
||||
Starting items: 79, 60, 97
|
||||
Operation: new = old * old
|
||||
Test: divisible by 13
|
||||
If true: throw to monkey 1
|
||||
If false: throw to monkey 3
|
||||
|
||||
Monkey 3:
|
||||
Starting items: 74
|
||||
Operation: new = old + 3
|
||||
Test: divisible by 17
|
||||
If true: throw to monkey 0
|
||||
If false: throw to monkey 1
|
5
src/holt59/aoc/inputs/tests/2022/day12.txt
Normal file
5
src/holt59/aoc/inputs/tests/2022/day12.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Sabqponm
|
||||
abcryxxl
|
||||
accszExk
|
||||
acctuvwj
|
||||
abdefghi
|
23
src/holt59/aoc/inputs/tests/2022/day13.txt
Normal file
23
src/holt59/aoc/inputs/tests/2022/day13.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
[1,1,3,1,1]
|
||||
[1,1,5,1,1]
|
||||
|
||||
[[1],[2,3,4]]
|
||||
[[1],4]
|
||||
|
||||
[9]
|
||||
[[8,7,6]]
|
||||
|
||||
[[4,4],4,4]
|
||||
[[4,4],4,4,4]
|
||||
|
||||
[7,7,7,7]
|
||||
[7,7,7]
|
||||
|
||||
[]
|
||||
[3]
|
||||
|
||||
[[[]]]
|
||||
[[]]
|
||||
|
||||
[1,[2,[3,[4,[5,6,7]]]],8,9]
|
||||
[1,[2,[3,[4,[5,6,0]]]],8,9]
|
2
src/holt59/aoc/inputs/tests/2022/day14.txt
Normal file
2
src/holt59/aoc/inputs/tests/2022/day14.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
498,4 -> 498,6 -> 496,6
|
||||
503,4 -> 502,4 -> 502,9 -> 494,9
|
14
src/holt59/aoc/inputs/tests/2022/day15.txt
Normal file
14
src/holt59/aoc/inputs/tests/2022/day15.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Sensor at x=2, y=18: closest beacon is at x=-2, y=15
|
||||
Sensor at x=9, y=16: closest beacon is at x=10, y=16
|
||||
Sensor at x=13, y=2: closest beacon is at x=15, y=3
|
||||
Sensor at x=12, y=14: closest beacon is at x=10, y=16
|
||||
Sensor at x=10, y=20: closest beacon is at x=10, y=16
|
||||
Sensor at x=14, y=17: closest beacon is at x=10, y=16
|
||||
Sensor at x=8, y=7: closest beacon is at x=2, y=10
|
||||
Sensor at x=2, y=0: closest beacon is at x=2, y=10
|
||||
Sensor at x=0, y=11: closest beacon is at x=2, y=10
|
||||
Sensor at x=20, y=14: closest beacon is at x=25, y=17
|
||||
Sensor at x=17, y=20: closest beacon is at x=21, y=22
|
||||
Sensor at x=16, y=7: closest beacon is at x=15, y=3
|
||||
Sensor at x=14, y=3: closest beacon is at x=15, y=3
|
||||
Sensor at x=20, y=1: closest beacon is at x=15, y=3
|
10
src/holt59/aoc/inputs/tests/2022/day16.txt
Normal file
10
src/holt59/aoc/inputs/tests/2022/day16.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Valve AA has flow rate=0; tunnels lead to valves DD, II, BB
|
||||
Valve BB has flow rate=13; tunnels lead to valves CC, AA
|
||||
Valve CC has flow rate=2; tunnels lead to valves DD, BB
|
||||
Valve DD has flow rate=20; tunnels lead to valves CC, AA, EE
|
||||
Valve EE has flow rate=3; tunnels lead to valves FF, DD
|
||||
Valve FF has flow rate=0; tunnels lead to valves EE, GG
|
||||
Valve GG has flow rate=0; tunnels lead to valves FF, HH
|
||||
Valve HH has flow rate=22; tunnel leads to valve GG
|
||||
Valve II has flow rate=0; tunnels lead to valves AA, JJ
|
||||
Valve JJ has flow rate=21; tunnel leads to valve II
|
1
src/holt59/aoc/inputs/tests/2022/day17.txt
Normal file
1
src/holt59/aoc/inputs/tests/2022/day17.txt
Normal file
@@ -0,0 +1 @@
|
||||
>>><<><>><<<>><>>><<<>>><<<><<<>><>><<>>
|
13
src/holt59/aoc/inputs/tests/2022/day18.txt
Normal file
13
src/holt59/aoc/inputs/tests/2022/day18.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
2,2,2
|
||||
1,2,2
|
||||
3,2,2
|
||||
2,1,2
|
||||
2,3,2
|
||||
2,2,1
|
||||
2,2,3
|
||||
2,2,4
|
||||
2,2,6
|
||||
1,2,5
|
||||
3,2,5
|
||||
2,1,5
|
||||
2,3,5
|
2
src/holt59/aoc/inputs/tests/2022/day19.txt
Normal file
2
src/holt59/aoc/inputs/tests/2022/day19.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
Blueprint 1: Each ore robot costs 4 ore. Each clay robot costs 2 ore. Each obsidian robot costs 3 ore and 14 clay. Each geode robot costs 2 ore and 7 obsidian.
|
||||
Blueprint 2: Each ore robot costs 2 ore. Each clay robot costs 3 ore. Each obsidian robot costs 3 ore and 8 clay. Each geode robot costs 3 ore and 12 obsidian.
|
3
src/holt59/aoc/inputs/tests/2022/day2.txt
Normal file
3
src/holt59/aoc/inputs/tests/2022/day2.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
A Y
|
||||
B X
|
||||
C Z
|
7
src/holt59/aoc/inputs/tests/2022/day20.txt
Normal file
7
src/holt59/aoc/inputs/tests/2022/day20.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
1
|
||||
2
|
||||
-3
|
||||
3
|
||||
-2
|
||||
0
|
||||
4
|
15
src/holt59/aoc/inputs/tests/2022/day21.txt
Normal file
15
src/holt59/aoc/inputs/tests/2022/day21.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
root: pppw + sjmn
|
||||
dbpl: 5
|
||||
cczh: sllz + lgvd
|
||||
zczc: 2
|
||||
ptdq: humn - dvpt
|
||||
dvpt: 3
|
||||
lfqf: 4
|
||||
humn: 5
|
||||
ljgn: 2
|
||||
sjmn: drzm * dbpl
|
||||
sllz: 4
|
||||
pppw: cczh / lfqf
|
||||
lgvd: ljgn * ptdq
|
||||
drzm: hmdt - zczc
|
||||
hmdt: 32
|
14
src/holt59/aoc/inputs/tests/2022/day22.txt
Normal file
14
src/holt59/aoc/inputs/tests/2022/day22.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
...#
|
||||
.#..
|
||||
#...
|
||||
....
|
||||
...#.......#
|
||||
........#...
|
||||
..#....#....
|
||||
..........#.
|
||||
...#....
|
||||
.....#..
|
||||
.#......
|
||||
......#.
|
||||
|
||||
10R5L5R10L4R5L5
|
7
src/holt59/aoc/inputs/tests/2022/day23.txt
Normal file
7
src/holt59/aoc/inputs/tests/2022/day23.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
....#..
|
||||
..###.#
|
||||
#...#.#
|
||||
.#...##
|
||||
#.###..
|
||||
##.#.##
|
||||
.#..#..
|
6
src/holt59/aoc/inputs/tests/2022/day24.txt
Normal file
6
src/holt59/aoc/inputs/tests/2022/day24.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#.######
|
||||
#>>.<^<#
|
||||
#.<..<<#
|
||||
#>v.><>#
|
||||
#<^v^^>#
|
||||
######.#
|
13
src/holt59/aoc/inputs/tests/2022/day25.txt
Normal file
13
src/holt59/aoc/inputs/tests/2022/day25.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
1=-0-2
|
||||
12111
|
||||
2=0=
|
||||
21
|
||||
2=01
|
||||
111
|
||||
20012
|
||||
112
|
||||
1=-1=
|
||||
1-12
|
||||
12
|
||||
1=
|
||||
122
|
6
src/holt59/aoc/inputs/tests/2022/day3.txt
Normal file
6
src/holt59/aoc/inputs/tests/2022/day3.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
vJrwpWtwJgWrhcsFMMfFFhFp
|
||||
jqHRNqRjqzjGDLGLrsFMfFZSrLrFZsSL
|
||||
PmmdzqPrVvPwwTWBwg
|
||||
wMqvLMZHhHMvwLHjbvcjnnSBnvTQFn
|
||||
ttgJtRGJQctTZtZT
|
||||
CrZsJsPPZsGzwwsLwLmpwMDw
|
6
src/holt59/aoc/inputs/tests/2022/day4.txt
Normal file
6
src/holt59/aoc/inputs/tests/2022/day4.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
2-4,6-8
|
||||
2-3,4-5
|
||||
5-7,7-9
|
||||
2-8,3-7
|
||||
6-6,4-6
|
||||
2-6,4-8
|
9
src/holt59/aoc/inputs/tests/2022/day5.txt
Normal file
9
src/holt59/aoc/inputs/tests/2022/day5.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
[D]
|
||||
[N] [C]
|
||||
[Z] [M] [P]
|
||||
1 2 3
|
||||
|
||||
move 1 from 2 to 1
|
||||
move 3 from 1 to 3
|
||||
move 2 from 2 to 1
|
||||
move 1 from 1 to 2
|
1
src/holt59/aoc/inputs/tests/2022/day6.txt
Normal file
1
src/holt59/aoc/inputs/tests/2022/day6.txt
Normal file
@@ -0,0 +1 @@
|
||||
mjqjpqmgbljsphdztnvjfqwrcgsmlb
|
23
src/holt59/aoc/inputs/tests/2022/day7.txt
Normal file
23
src/holt59/aoc/inputs/tests/2022/day7.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
$ cd /
|
||||
$ ls
|
||||
dir a
|
||||
14848514 b.txt
|
||||
8504156 c.dat
|
||||
dir d
|
||||
$ cd a
|
||||
$ ls
|
||||
dir e
|
||||
29116 f
|
||||
2557 g
|
||||
62596 h.lst
|
||||
$ cd e
|
||||
$ ls
|
||||
584 i
|
||||
$ cd ..
|
||||
$ cd ..
|
||||
$ cd d
|
||||
$ ls
|
||||
4060174 j
|
||||
8033020 d.log
|
||||
5626152 d.ext
|
||||
7214296 k
|
5
src/holt59/aoc/inputs/tests/2022/day8.txt
Normal file
5
src/holt59/aoc/inputs/tests/2022/day8.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
30373
|
||||
25512
|
||||
65332
|
||||
33549
|
||||
35390
|
8
src/holt59/aoc/inputs/tests/2022/day9.txt
Normal file
8
src/holt59/aoc/inputs/tests/2022/day9.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
R 4
|
||||
U 4
|
||||
L 3
|
||||
D 1
|
||||
R 4
|
||||
D 1
|
||||
L 5
|
||||
R 2
|
7
src/holt59/aoc/inputs/tests/2023/day1.txt
Normal file
7
src/holt59/aoc/inputs/tests/2023/day1.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
two1nine
|
||||
eightwothree
|
||||
abcone2threexyz
|
||||
xtwone3four
|
||||
4nineeightseven2
|
||||
zoneight234
|
||||
7pqrstsixteen
|
10
src/holt59/aoc/inputs/tests/2023/day10.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day10.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
FF7FSF7F7F7F7F7F---7
|
||||
L|LJ||||||||||||F--J
|
||||
FL-7LJLJ||||||LJL-77
|
||||
F--JF--7||LJLJ7F7FJ-
|
||||
L---JF-JLJ.||-FJLJJ7
|
||||
|F|F-JF---7F7-L7L|7|
|
||||
|FFJF7L7F-JF7|JL---7
|
||||
7-L-JL7||F7|L7F-7F7|
|
||||
L.L7LFJ|||||FJL7||LJ
|
||||
L7JLJL-JLJLJL--JLJ.L
|
9
src/holt59/aoc/inputs/tests/2023/day10_1.txt
Normal file
9
src/holt59/aoc/inputs/tests/2023/day10_1.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
..........
|
||||
.S------7.
|
||||
.|F----7|.
|
||||
.||OOOO||.
|
||||
.||OOOO||.
|
||||
.|L-7F-J|.
|
||||
.|..||..|.
|
||||
.L--JL--J.
|
||||
..........
|
10
src/holt59/aoc/inputs/tests/2023/day10_2.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day10_2.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
.F----7F7F7F7F-7....
|
||||
.|F--7||||||||FJ....
|
||||
.||.FJ||||||||L7....
|
||||
FJL7L7LJLJ||LJ.L-7..
|
||||
L--J.L7...LJS7F-7L7.
|
||||
....F-J..F7FJ|L7L7L7
|
||||
....L7.F7||L7|.L7L7|
|
||||
.....|FJLJ|FJ|F7|.LJ
|
||||
....FJL-7.||.||||...
|
||||
....L---J.LJ.LJLJ...
|
9
src/holt59/aoc/inputs/tests/2023/day10_3.txt
Normal file
9
src/holt59/aoc/inputs/tests/2023/day10_3.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
...........
|
||||
.S-------7.
|
||||
.|F-----7|.
|
||||
.||.....||.
|
||||
.||.....||.
|
||||
.|L-7.F-J|.
|
||||
.|..|.|..|.
|
||||
.L--J.L--J.
|
||||
...........
|
10
src/holt59/aoc/inputs/tests/2023/day11.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day11.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
...#......
|
||||
.......#..
|
||||
#.........
|
||||
..........
|
||||
......#...
|
||||
.#........
|
||||
.........#
|
||||
..........
|
||||
.......#..
|
||||
#...#.....
|
6
src/holt59/aoc/inputs/tests/2023/day12.txt
Normal file
6
src/holt59/aoc/inputs/tests/2023/day12.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
???.### 1,1,3
|
||||
.??..??...?##. 1,1,3
|
||||
?#?#?#?#?#?#?#? 1,3,1,6
|
||||
????.#...#... 4,1,1
|
||||
????.######..#####. 1,6,5
|
||||
?###???????? 3,2,1
|
15
src/holt59/aoc/inputs/tests/2023/day13.txt
Normal file
15
src/holt59/aoc/inputs/tests/2023/day13.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
#.##..##.
|
||||
..#.##.#.
|
||||
##......#
|
||||
##......#
|
||||
..#.##.#.
|
||||
..##..##.
|
||||
#.#.##.#.
|
||||
|
||||
#...##..#
|
||||
#....#..#
|
||||
..##..###
|
||||
#####.##.
|
||||
#####.##.
|
||||
..##..###
|
||||
#....#..#
|
10
src/holt59/aoc/inputs/tests/2023/day14.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day14.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
O....#....
|
||||
O.OO#....#
|
||||
.....##...
|
||||
OO.#O....O
|
||||
.O.....O#.
|
||||
O.#..O.#.#
|
||||
..O..#O..O
|
||||
.......O..
|
||||
#....###..
|
||||
#OO..#....
|
1
src/holt59/aoc/inputs/tests/2023/day15.txt
Normal file
1
src/holt59/aoc/inputs/tests/2023/day15.txt
Normal file
@@ -0,0 +1 @@
|
||||
rn=1,cm-,qp=3,cm=2,qp-,pc=4,ot=9,ab=5,pc-,pc=6,ot=7
|
10
src/holt59/aoc/inputs/tests/2023/day16.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day16.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
.|...\....
|
||||
|.-.\.....
|
||||
.....|-...
|
||||
........|.
|
||||
..........
|
||||
.........\
|
||||
..../.\\..
|
||||
.-.-/..|..
|
||||
.|....-|.\
|
||||
..//.|....
|
13
src/holt59/aoc/inputs/tests/2023/day17.txt
Normal file
13
src/holt59/aoc/inputs/tests/2023/day17.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
2413432311323
|
||||
3215453535623
|
||||
3255245654254
|
||||
3446585845452
|
||||
4546657867536
|
||||
1438598798454
|
||||
4457876987766
|
||||
3637877979653
|
||||
4654967986887
|
||||
4564679986453
|
||||
1224686865563
|
||||
2546548887735
|
||||
4322674655533
|
14
src/holt59/aoc/inputs/tests/2023/day18.txt
Normal file
14
src/holt59/aoc/inputs/tests/2023/day18.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
R 6 (#70c710)
|
||||
D 5 (#0dc571)
|
||||
L 2 (#5713f0)
|
||||
D 2 (#d2c081)
|
||||
R 2 (#59c680)
|
||||
D 2 (#411b91)
|
||||
L 5 (#8ceee2)
|
||||
U 2 (#caa173)
|
||||
L 1 (#1b58a2)
|
||||
U 2 (#caa171)
|
||||
R 2 (#7807d2)
|
||||
U 3 (#a77fa3)
|
||||
L 2 (#015232)
|
||||
U 2 (#7a21e3)
|
17
src/holt59/aoc/inputs/tests/2023/day19.txt
Normal file
17
src/holt59/aoc/inputs/tests/2023/day19.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
px{a<2006:qkq,m>2090:A,rfg}
|
||||
pv{a>1716:R,A}
|
||||
lnx{m>1548:A,A}
|
||||
rfg{s<537:gd,x>2440:R,A}
|
||||
qs{s>3448:A,lnx}
|
||||
qkq{x<1416:A,crn}
|
||||
crn{x>2662:A,R}
|
||||
in{s<1351:px,qqz}
|
||||
qqz{s>2770:qs,m<1801:hdj,R}
|
||||
gd{a>3333:R,R}
|
||||
hdj{m>838:A,pv}
|
||||
|
||||
{x=787,m=2655,a=1222,s=2876}
|
||||
{x=1679,m=44,a=2067,s=496}
|
||||
{x=2036,m=264,a=79,s=2244}
|
||||
{x=2461,m=1339,a=466,s=291}
|
||||
{x=2127,m=1623,a=2188,s=1013}
|
4
src/holt59/aoc/inputs/tests/2023/day1_p1.txt
Normal file
4
src/holt59/aoc/inputs/tests/2023/day1_p1.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
1abc2
|
||||
pqr3stu8vwx
|
||||
a1b2c3d4e5f
|
||||
treb7uchet
|
5
src/holt59/aoc/inputs/tests/2023/day2.txt
Normal file
5
src/holt59/aoc/inputs/tests/2023/day2.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Game 1: 3 blue, 4 red; 1 red, 2 green, 6 blue; 2 green
|
||||
Game 2: 1 blue, 2 green; 3 green, 4 blue, 1 red; 1 green, 1 blue
|
||||
Game 3: 8 green, 6 blue, 20 red; 5 blue, 4 red, 13 green; 5 green, 1 red
|
||||
Game 4: 1 green, 3 red, 6 blue; 3 green, 6 red; 3 green, 15 blue, 14 red
|
||||
Game 5: 6 red, 1 blue, 3 green; 2 blue, 1 red, 2 green
|
0
src/holt59/aoc/inputs/tests/2023/day20.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day20.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day21.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day21.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day22.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day22.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day23.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day23.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day24.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day24.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day25.txt
Normal file
0
src/holt59/aoc/inputs/tests/2023/day25.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day3.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day3.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
467..114..
|
||||
...*......
|
||||
..35..633.
|
||||
......#...
|
||||
617*......
|
||||
.....+.58.
|
||||
..592.....
|
||||
......755.
|
||||
...$.*....
|
||||
.664.598..
|
6
src/holt59/aoc/inputs/tests/2023/day4.txt
Normal file
6
src/holt59/aoc/inputs/tests/2023/day4.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Card 1: 41 48 83 86 17 | 83 86 6 31 17 9 48 53
|
||||
Card 2: 13 32 20 16 61 | 61 30 68 82 17 32 24 19
|
||||
Card 3: 1 21 53 59 44 | 69 82 63 72 16 21 14 1
|
||||
Card 4: 41 92 73 84 69 | 59 84 76 51 58 5 54 83
|
||||
Card 5: 87 83 26 28 32 | 88 30 70 12 93 22 82 36
|
||||
Card 6: 31 18 13 56 72 | 74 77 10 23 35 67 36 11
|
33
src/holt59/aoc/inputs/tests/2023/day5.txt
Normal file
33
src/holt59/aoc/inputs/tests/2023/day5.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
seeds: 79 14 55 13
|
||||
|
||||
seed-to-soil map:
|
||||
50 98 2
|
||||
52 50 48
|
||||
|
||||
soil-to-fertilizer map:
|
||||
0 15 37
|
||||
37 52 2
|
||||
39 0 15
|
||||
|
||||
fertilizer-to-water map:
|
||||
49 53 8
|
||||
0 11 42
|
||||
42 0 7
|
||||
57 7 4
|
||||
|
||||
water-to-light map:
|
||||
88 18 7
|
||||
18 25 70
|
||||
|
||||
light-to-temperature map:
|
||||
45 77 23
|
||||
81 45 19
|
||||
68 64 13
|
||||
|
||||
temperature-to-humidity map:
|
||||
0 69 1
|
||||
1 0 69
|
||||
|
||||
humidity-to-location map:
|
||||
60 56 37
|
||||
56 93 4
|
2
src/holt59/aoc/inputs/tests/2023/day6.txt
Normal file
2
src/holt59/aoc/inputs/tests/2023/day6.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
Time: 7 15 30
|
||||
Distance: 9 40 200
|
5
src/holt59/aoc/inputs/tests/2023/day7.txt
Normal file
5
src/holt59/aoc/inputs/tests/2023/day7.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
32T3K 765
|
||||
T55J5 684
|
||||
KK677 28
|
||||
KTJJT 220
|
||||
QQQJA 483
|
10
src/holt59/aoc/inputs/tests/2023/day8.txt
Normal file
10
src/holt59/aoc/inputs/tests/2023/day8.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
LR
|
||||
|
||||
11A = (11B, XXX)
|
||||
11B = (XXX, 11Z)
|
||||
11Z = (11B, XXX)
|
||||
22A = (22B, XXX)
|
||||
22B = (22C, 22C)
|
||||
22C = (22Z, 22Z)
|
||||
22Z = (22B, 22B)
|
||||
XXX = (XXX, XXX)
|
9
src/holt59/aoc/inputs/tests/2023/day8_p1.txt
Normal file
9
src/holt59/aoc/inputs/tests/2023/day8_p1.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
RL
|
||||
|
||||
AAA = (BBB, CCC)
|
||||
BBB = (DDD, EEE)
|
||||
CCC = (ZZZ, GGG)
|
||||
DDD = (DDD, DDD)
|
||||
EEE = (EEE, EEE)
|
||||
GGG = (GGG, GGG)
|
||||
ZZZ = (ZZZ, ZZZ)
|
3
src/holt59/aoc/inputs/tests/2023/day9.txt
Normal file
3
src/holt59/aoc/inputs/tests/2023/day9.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
0 3 6 9 12 15
|
||||
1 3 6 10 15 21
|
||||
10 13 16 21 30 45
|
Reference in New Issue
Block a user