We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7046de1 commit 4c612b2Copy full SHA for 4c612b2
1 file changed
2019/IntCode.py
@@ -35,6 +35,9 @@ def __init__(self, instructions, reference=""):
35
36
def reset(self, instructions):
37
self.instructions = list(map(int, instructions.split(",")))
38
+ self.inputs = []
39
+ self.all_inputs = []
40
+ self.outputs = []
41
self.pointer = 0
42
self.state = "Running"
43
0 commit comments