These file is also located in each directory: test.txt
- which is the file
from the AoC examples. So, if you don't want to change anything in the code, just put your input.txt
file into folder
with the Python solution.
Some scripts may run slower when using CPython, so I strongly recommend you using PyPy.
All solution print to stdout
. Example output:
>>> print(part1)
43632
>>> print(part2)
154365725465679