summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-12-11 13:26:30 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-12-11 13:26:30 +0000
commit09b05973d945c2affc89f07e09fd3a86f8bd7103 (patch)
treeccf69dc97e971ba42e7da86adccdc5e54bb139f0 /src/main.rs
parent2ca0c6efc3cfc772fcd84bce4265da6fb1c9c94d (diff)
downloadaoc2022-09b05973d945c2affc89f07e09fd3a86f8bd7103.tar.gz
aoc2022-09b05973d945c2affc89f07e09fd3a86f8bd7103.tar.bz2
aoc2022-09b05973d945c2affc89f07e09fd3a86f8bd7103.tar.xz
aoc2022-09b05973d945c2affc89f07e09fd3a86f8bd7103.zip
day11
This one took a lot longer than I'd like!
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 31bb9ea..0d64697 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,5 @@
+#![feature(get_many_mut)]
+#![feature(iterator_try_collect)]
use std::fs;
mod day1;
@@ -10,6 +12,7 @@ mod day7;
mod day8;
mod day9;
mod day10;
+mod day11;
fn main() {
day1::run(fs::read_to_string("input/day1.txt").expect("Failed to read input file!"));
@@ -22,4 +25,5 @@ fn main() {
day8::run(fs::read_to_string("input/day8.txt").expect("Failed to read input file!"));
day9::run(fs::read_to_string("input/day9.txt").expect("Failed to read input file!"));
day10::run(fs::read_to_string("input/day10.txt").expect("Failed to read input file!"));
+ day11::run(fs::read_to_string("input/day11.txt").expect("Failed to read input file!"));
}