Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To get a solution, I run main.py and enter the challenge I want to run. main.py reads the appropriate challenge, gets its input, does some preprocessing, and then prints the result of running the challenge on the input.

To do this properly, the challenges should be at paths of the form 2022/day03/day03.py, and their inputs at 2022/day03/inp.txt, relative to the location of main.py.

By default, main.py splits the input on \n before passing to the challenge. There is a mini-language providing a variety of pre-processing options - see examples.py.

About

adventofcode.com

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages