def part_b(): """Part B""" oc = OpcodeComputer(lines, [5]) oc.run() return oc.get_outputs()
def part_a(): oc = OpcodeComputer(lines, [1]) oc.run() return oc.get_outputs()[-1:]
def part_b(): """Part B""" oc = OpcodeComputer(lines, [5]) oc.run() return oc.get_outputs()
def part_a(): oc = OpcodeComputer(lines, [1]) oc.run() return oc.get_outputs()[-1:]