Skip to content

Commit 99c10a0

Browse files
committed
chore: use random input
1 parent ec8e6bb commit 99c10a0

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/2024/2024-12-07/input.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
190: 10 19
2-
3267: 81 40 27
3-
83: 17 5
4-
156: 15 6
5-
7290: 6 8 6 15
6-
161011: 16 10 13
7-
192: 17 8 14
8-
21037: 9 7 18 13
9-
292: 11 6 16 20
1+
180: 10 18
2+
3124: 64 44 19
3+
76: 21 4
4+
194: 3 5
5+
1432: 1 1 1 3
6+
15: 5 5 2 3
7+
12345: 6 4 9 10
8+
100: 25 50 10 15

src/2024/2024-12-07/sample.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ const input = (readAOCInputFile({
1414
.split('\n')
1515

1616
test('1/2: Total calibration result', () => {
17-
expect(totalCalibrationResult(input)).toBe(3749)
17+
expect(totalCalibrationResult(input)).toBe(295)
1818
})

0 commit comments

Comments
 (0)