diff options
| author | Arne Dußin | 2021-12-04 12:31:11 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-12-04 12:31:11 +0100 |
| commit | 15b00050c8bd1f8792a78cf88b8840d1b32fa4cb (patch) | |
| tree | 1a766ff737ecf31743858cf168f92606ef7d4028 /src/main.rs | |
| parent | 611c7dd5f55aab79c03dace3a022f87b68a3d012 (diff) | |
| download | aoc2021-15b00050c8bd1f8792a78cf88b8840d1b32fa4cb.tar.gz aoc2021-15b00050c8bd1f8792a78cf88b8840d1b32fa4cb.zip | |
Add solution to day 3
It's horrible, but that's what happens when you design something for the
first part and then use the scraps for the second.
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 0c3f0a7..094d48b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ mod day_1; mod day_2; +mod day_3; use std::fs::File; use std::io::{BufRead, BufReader}; @@ -28,6 +29,7 @@ fn run(day: u8, input: Vec<String>) match day { 1 => day_1::run(input), 2 => day_2::run(input), + 3 => day_3::run(input), o => panic!("Day {} is not implemented (yet)", o), } } |
