Skip to content

Commit ad284ea

Browse files
committed
2024: Add solution for Day 18
1 parent db3cc1b commit ad284ea

File tree

6 files changed

+3575
-14
lines changed

6 files changed

+3575
-14
lines changed

2024/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cargo run --bin day01
2727
15. [](day15)
2828
16. [Reindeer Maze](day16) 🌟🌟
2929
17. [](day17)
30-
18. [](day18)
30+
18. [RAM Run](day18) 🌟🌟
3131
19. [](day19)
3232
20. [](day20)
3333
21. [](day21)

2024/day18/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9+
lib.workspace = true

2024/day18/example1.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
5,4
2+
4,2
3+
4,5
4+
3,0
5+
2,1
6+
6,3
7+
2,4
8+
1,5
9+
0,6
10+
3,3
11+
2,6
12+
5,1
13+
1,2
14+
5,5
15+
2,5
16+
6,5
17+
1,4
18+
0,4
19+
6,4
20+
1,1
21+
6,1
22+
1,0
23+
0,5
24+
1,6
25+
2,0

0 commit comments

Comments
 (0)