From 7293b9eec77079a35d1e2ef3442fbce95a28c307 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 21 Dec 2018 23:08:50 +0100 Subject: Day 19 part 2 --- 2018/src/day19.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '2018') diff --git a/2018/src/day19.rs b/2018/src/day19.rs index b8ded6a..05f0fd4 100644 --- a/2018/src/day19.rs +++ b/2018/src/day19.rs @@ -350,7 +350,7 @@ fn divisor_sum(n: i64) -> i64 { } fn main_alt() -> (String, String) { - (divisor_sum(948).to_string(), divisor_sum(10551236).to_string()) + (divisor_sum(948).to_string(), divisor_sum(10551348).to_string()) } pub fn main(reader: T) -> io::Result<(String, String)> { @@ -369,8 +369,8 @@ pub fn main(reader: T) -> io::Result<(String, String)> { for instr in &instrs { println!("{}", instr); } - let part1 = run_program(&instrs, 0); - // let part2 = run_program(&instrs, 1); + // let part1 = run_program(&instrs, 0); + let part2 = run_program(&instrs, 1); // Ok((part1.to_string(), part2.to_string())) Ok((String::new(), String::new())) */ -- cgit v1.2.3-70-g09d2