Skip to content

avi-08/adventofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adventofcode

Python My solutions to adventofcode problems

Execution guide

# 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

Navigation guide

  • 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

About

My solutions to adventofcode problems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages