Skip to content

Commit 5bd927b

Browse files
committed
2024: Add solution for Day 20
1 parent 187cb6a commit 5bd927b

File tree

6 files changed

+257
-15
lines changed

6 files changed

+257
-15
lines changed

β€Ž2024/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cargo run --bin day01
2929
17. [](day17)
3030
18. [RAM Run](day18) 🌟🌟
3131
19. [Linen Layout](day19) 🌟🌟
32-
20. [](day20)
32+
20. [Race Condition](day20) 🌟🌟
3333
21. [](day21)
3434
22. [](day22)
3535
23. [](day23)

β€Ž2024/day20/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/day20/example1.txtβ€Ž

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
###############
2+
#...#...#.....#
3+
#.#.#.#.#.###.#
4+
#S#...#.#.#...#
5+
#######.#.#.###
6+
#######.#.#...#
7+
#######.#.###.#
8+
###..E#...#...#
9+
###.#######.###
10+
#...###...#...#
11+
#.#####.#.###.#
12+
#.#...#.#.#...#
13+
#.#.#.#.#.#.###
14+
#...#...#...###
15+
###############

0 commit comments

Comments
Β (0)