summary refs log tree commit diff homepage
path: root/src
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-12-18 00:49:58 -0500
committerJune McEnroe <programble@gmail.com>2016-12-18 00:49:58 -0500
commit6bc678b8972a2e02a7415d419451d64fe82a027e (patch)
tree5c37ecd663c9b8154af7e1e5357e9371d8fdd219 /src
parentDay 18 (diff)
downloadaoc-6bc678b8972a2e02a7415d419451d64fe82a027e.tar.gz
aoc-6bc678b8972a2e02a7415d419451d64fe82a027e.zip
Day 18 part 2
Diffstat (limited to 'src')
-rw-r--r--src/bin/day18.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/day18.rs b/src/bin/day18.rs
index 658949e..19f8c91 100644
--- a/src/bin/day18.rs
+++ b/src/bin/day18.rs
@@ -78,6 +78,7 @@ fn main() {
     io::stdin().read_to_string(&mut input).unwrap();
 
     println!("Part 1: {}", solve(40, &input));
+    println!("Part 2: {}", solve(400000, &input));
 }
 
 #[test]
over-highlight'> 2021-01-20Avoid matching ':' in make tagsJune McEnroe Otherwise a :: rule includes one of the ':'s in the tag name. 2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe