Implement 2019 day 15

This commit is contained in:
2021-02-01 22:39:09 +01:00
parent eff22abf8a
commit 165159cba9
2 changed files with 105 additions and 0 deletions

View File

@@ -73,6 +73,9 @@ class Computer:
while self._execute_current():
pass
def get_output(self) -> int:
return self.output.popleft()
def _execute_current(self) -> bool:
"""
Execute a single instruction