Skip to content

Commit 5927412

Browse files
committed
Day 16 example and input, refs #18
1 parent ce5e879 commit 5927412

File tree

4 files changed

+79
-0
lines changed

4 files changed

+79
-0
lines changed

day_16/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[package]
2+
name = "day_16"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]

day_16/example.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Valve AA has flow rate=0; tunnels lead to valves DD, II, BB
2+
Valve BB has flow rate=13; tunnels lead to valves CC, AA
3+
Valve CC has flow rate=2; tunnels lead to valves DD, BB
4+
Valve DD has flow rate=20; tunnels lead to valves CC, AA, EE
5+
Valve EE has flow rate=3; tunnels lead to valves FF, DD
6+
Valve FF has flow rate=0; tunnels lead to valves EE, GG
7+
Valve GG has flow rate=0; tunnels lead to valves FF, HH
8+
Valve HH has flow rate=22; tunnel leads to valve GG
9+
Valve II has flow rate=0; tunnels lead to valves AA, JJ
10+
Valve JJ has flow rate=21; tunnel leads to valve II
11+

day_16/input.txt

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Valve TM has flow rate=3; tunnels lead to valves WB, PE, DX, TK, CH
2+
Valve ST has flow rate=21; tunnels lead to valves NS, DE, UX, XU
3+
Valve IX has flow rate=0; tunnels lead to valves DK, LR
4+
Valve OG has flow rate=0; tunnels lead to valves MN, FK
5+
Valve FR has flow rate=0; tunnels lead to valves JQ, GS
6+
Valve HU has flow rate=0; tunnels lead to valves TJ, XX
7+
Valve WC has flow rate=15; tunnel leads to valve TJ
8+
Valve JT has flow rate=0; tunnels lead to valves OV, AA
9+
Valve DW has flow rate=0; tunnels lead to valves FK, AA
10+
Valve RG has flow rate=0; tunnels lead to valves PS, DK
11+
Valve JQ has flow rate=14; tunnels lead to valves VM, FR
12+
Valve XX has flow rate=5; tunnels lead to valves GP, MN, WB, LM, HU
13+
Valve IN has flow rate=11; tunnels lead to valves OK, GS, DU
14+
Valve LR has flow rate=7; tunnels lead to valves IX, NR, YY, HZ, PR
15+
Valve TK has flow rate=0; tunnels lead to valves TM, OV
16+
Valve VM has flow rate=0; tunnels lead to valves KQ, JQ
17+
Valve IC has flow rate=0; tunnels lead to valves FK, DU
18+
Valve CH has flow rate=0; tunnels lead to valves EZ, TM
19+
Valve OV has flow rate=10; tunnels lead to valves YW, JT, NN, TK
20+
Valve KQ has flow rate=17; tunnels lead to valves VM, YW, CY
21+
Valve NR has flow rate=0; tunnels lead to valves FK, LR
22+
Valve MN has flow rate=0; tunnels lead to valves OG, XX
23+
Valve YY has flow rate=0; tunnels lead to valves LR, LM
24+
Valve OK has flow rate=0; tunnels lead to valves CY, IN
25+
Valve DK has flow rate=20; tunnels lead to valves FA, RG, IX
26+
Valve CY has flow rate=0; tunnels lead to valves KQ, OK
27+
Valve PR has flow rate=0; tunnels lead to valves DX, LR
28+
Valve DE has flow rate=0; tunnels lead to valves ST, EL
29+
Valve TJ has flow rate=0; tunnels lead to valves WC, HU
30+
Valve NS has flow rate=0; tunnels lead to valves WU, ST
31+
Valve PE has flow rate=0; tunnels lead to valves TM, XO
32+
Valve DU has flow rate=0; tunnels lead to valves IN, IC
33+
Valve DX has flow rate=0; tunnels lead to valves TM, PR
34+
Valve EQ has flow rate=0; tunnels lead to valves AA, GP
35+
Valve AA has flow rate=0; tunnels lead to valves JT, EZ, HZ, DW, EQ
36+
Valve WB has flow rate=0; tunnels lead to valves TM, XX
37+
Valve PF has flow rate=23; tunnels lead to valves BP, WU
38+
Valve FJ has flow rate=19; tunnels lead to valves DO, TY, NN, PS
39+
Valve GP has flow rate=0; tunnels lead to valves XX, EQ
40+
Valve FK has flow rate=4; tunnels lead to valves DW, XO, OG, IC, NR
41+
Valve DO has flow rate=0; tunnels lead to valves XU, FJ
42+
Valve XO has flow rate=0; tunnels lead to valves FK, PE
43+
Valve PS has flow rate=0; tunnels lead to valves RG, FJ
44+
Valve MD has flow rate=25; tunnel leads to valve BP
45+
Valve EZ has flow rate=0; tunnels lead to valves CH, AA
46+
Valve GS has flow rate=0; tunnels lead to valves IN, FR
47+
Valve XU has flow rate=0; tunnels lead to valves DO, ST
48+
Valve WU has flow rate=0; tunnels lead to valves PF, NS
49+
Valve YW has flow rate=0; tunnels lead to valves OV, KQ
50+
Valve HZ has flow rate=0; tunnels lead to valves LR, AA
51+
Valve TY has flow rate=0; tunnels lead to valves FJ, EL
52+
Valve BP has flow rate=0; tunnels lead to valves MD, PF
53+
Valve EL has flow rate=18; tunnels lead to valves DE, TY
54+
Valve UX has flow rate=0; tunnels lead to valves FA, ST
55+
Valve FA has flow rate=0; tunnels lead to valves UX, DK
56+
Valve NN has flow rate=0; tunnels lead to valves OV, FJ
57+
Valve LM has flow rate=0; tunnels lead to valves XX, YY

day_16/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)