This commit is contained in:
2019-12-09 11:39:33 +00:00
parent 421455f8ba
commit 9d973154f3

View File

@@ -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());
}