mirror of
https://github.com/wezm/advent-of-code.git
synced 2024-12-18 10:19:55 +00:00
Day 9 part 2
This commit is contained in:
parent
9a7817e6ff
commit
6b9f91c100
1 changed files with 3 additions and 3 deletions
|
@ -11,9 +11,9 @@ fn main() -> io::Result<()> {
|
|||
computer.run(None, None);
|
||||
println!("Part 1: {}", computer.output());
|
||||
|
||||
// let mut computer = computer::Computer::new('2', data.clone(), vec![5], vec![]);
|
||||
// computer.run(None, None);
|
||||
// println!("Part 2: {}", computer.output());
|
||||
let mut computer = Computer::new('2', program.clone(), vec![2], vec![]);
|
||||
computer.run(None, None);
|
||||
println!("Part 2: {}", computer.output());
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue