My Advent of Code solutions in Python. kevinyap.ca/2019/12/going-fast-in-advent-of-code/
advent-of-code python
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 9 lines 233 B view raw
1import fileinput 2 3from intcode import emulate 4 5# Read input 6TAPE = [int(x) for x in fileinput.input()[0].split(',')] 7 8print "BOOST keycode:", next(emulate(TAPE, [1])) 9print "Coordinates of distress signal:", next(emulate(TAPE, [2]))