Day 9.2
This commit is contained in:
@@ -14,4 +14,9 @@ pub fn main() anyerror!void {
|
||||
try machine.run();
|
||||
|
||||
std.debug.warn("Day 9, Part 1: {}\n", try machine.readFromOutput());
|
||||
|
||||
try machine.writeToInput(2); // BOOST program in sensor boost mode
|
||||
try machine.run();
|
||||
|
||||
std.debug.warn("Day 9, Part 2: {}\n", try machine.readFromOutput());
|
||||
}
|
||||
|
Reference in New Issue
Block a user