summaryrefslogtreecommitdiff
path: root/2018
diff options
context:
space:
mode:
Diffstat (limited to '2018')
-rw-r--r--2018/src/day19.rs6
1 files changed, 3 insertions, 3 deletions
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<T: BufRead>(reader: T) -> io::Result<(String, String)> {
@@ -369,8 +369,8 @@ pub fn main<T: BufRead>(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())) */