day24: remove useless method
This commit is contained in:
parent
1bd309732b
commit
e856869912
13
day24.py
13
day24.py
@ -41,19 +41,6 @@ class Day(AOCDay):
|
|||||||
test_solutions_p1 = [99598963999971]
|
test_solutions_p1 = [99598963999971]
|
||||||
test_solutions_p2 = [93151411711211]
|
test_solutions_p2 = [93151411711211]
|
||||||
|
|
||||||
def getDigitInstr(self):
|
|
||||||
instructions = []
|
|
||||||
this_instr = []
|
|
||||||
for instr in self.getInputAsArraySplit(" "):
|
|
||||||
if instr[0] == "inp" and this_instr:
|
|
||||||
instructions.append(this_instr)
|
|
||||||
this_instr = []
|
|
||||||
|
|
||||||
this_instr.append(instr)
|
|
||||||
instructions.append(this_instr)
|
|
||||||
|
|
||||||
return instructions
|
|
||||||
|
|
||||||
def getInputNumbers(self):
|
def getInputNumbers(self):
|
||||||
pushpull = []
|
pushpull = []
|
||||||
adders = []
|
adders = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user