Go to file
Tibor Bizjak 7bd4d01b31 Added shebang 2023-03-14 00:57:30 +01:00
input Added input directory 2023-03-14 00:07:15 +01:00
LICENSE Added License 2023-03-13 23:38:46 +01:00
README.md Fixed typo 2023-03-14 00:00:43 +01:00
day01.py Renamed solver to main 2023-03-14 00:13:50 +01:00
day02.py Renamed solver to main 2023-03-14 00:13:50 +01:00
day03.py Renamed solver to main 2023-03-14 00:13:50 +01:00
day04.py Added shebang to files 2023-03-13 23:36:25 +01:00
day05.py Added shebang to files 2023-03-13 23:36:25 +01:00
day06.py Renamed solver to main 2023-03-14 00:13:50 +01:00
day07.py Renamed solver to main 2023-03-14 00:13:50 +01:00
day08.py Added shebang to files 2023-03-13 23:36:25 +01:00
day09.py Renamed solver to main 2023-03-14 00:13:50 +01:00
day10.py Renamed solver to main 2023-03-14 00:13:50 +01:00
day11.py Removed old import 2023-03-14 00:15:33 +01:00
day12.py Added shebang 2023-03-14 00:57:30 +01:00
intcode.py Refactored intcode.py. Added lib module. 2023-03-13 23:31:20 +01:00
lib.py Added shebang to files 2023-03-13 23:36:25 +01:00
main.py Fixed description of main.py 2023-03-13 23:55:12 +01:00

README.md

Advent of Code 2019

Solutions to Advent of Code 2019 in Python 3.

Usage

To solve all puzzles with implemented solutions run

foo@bar:~$ python3 main.py 

or alternatively make the main program executable

foo@bar:~$ chmod +x main.py
foo@bar:~$ ./main.py

For other options see ./main.py -h

foo@bar:~$ ./main.py -h
usage: main.py [-h] [-d DAY[-DAY]] [-i INPUT] [-t]

Solves Advent of Code 2019 puzzles. The puzzles are available at
https://adventofcode.com/2019/

optional arguments:
  -h, --help            show this help message and exit
  -d DAY[-DAY], --day DAY[-DAY]
                        solve puzzle of day DAY or of range DAY-DAY
  -i INPUT, --input INPUT
                        use INPUT as puzzle input
  -t, --test            run tests