Skip to content

Advent of Code solutions

License

Notifications You must be signed in to change notification settings

ErikBavenstrand/Advent-of-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License


About

Solutions to (some) Advent of Code challenges written in Python.

Requirements

  • Python 3.10
  • Pipenv

Running

First generate the boilerplate code:

$ python aoc.py [year] [day] generate --author "Firstname Lastname"

Implement the solutions for part A and B and add the test case to ./[year]/[day]/testcase.txt (needs to be manually copeid from AoC website).

To test the solutions run:

$ python aoc.py [year] [day] test

Finally, run the following command to solve and submit using the real data.

Important: follow the instructions here on how to add your AoC session cookie to your local machine.

$ python aoc.py [year] [day] solve --submit

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

About

Advent of Code solutions

Topics

Resources

License

Stars

Watchers

Forks

Languages