|
#!/usr/bin/env python3
|
|
|
|
from intcode import preproc
|
|
from lib import last
|
|
|
|
|
|
def partI(executable):
|
|
return last(executable(1))
|
|
|
|
def partII(executable):
|
|
return last(executable(2))
|
|
|
|
|
|
from main import Tests
|
|
tests = Tests()
|
|
tests.add("104,1125899906842624,99", partI=1125899906842624)
|