My solutions to adventofcode problems
# List out the available commands and options
python3 aoc.py --help
# Execute solution for day 2 of event 2020
python3 aoc.py event_2020 -d day_02
# Execute solution for day 2 of event 2020 with sample input
python3 aoc.py event_2020 -d day_02 -s
# Execute solution for day 2 of event 2020 with sample input and verbose logs
python3 aoc.py event_2020 -d day_02 -v -s
- All parent directories indicates event name. E.g. event_2021 corresponds to the 2021 event
- Each sub-directory under event directory contains the day's problem.
- The problem directory contains 3 files:
- sample.txt file: A test input
- input.txt: Actual input, for which the output represents the problem statement's solution.
- solution.py: The solution script, which can be run in the following manner to see the results:
python3 solution.py