Skip to content

WinslowJosiah/adventofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

adventofcode

My solutions to Advent of Code.

Usage

To run a solution for a given year and day, run __main__.py with the following options:

Short Option Long Option Parameter(s) Explanation
-h --help none Show a help message and exit.
-y --year n, an integer The year for which to run the solution.
-d --day n, an integer between 1 and 25 The day for which to run the solution.
-b --benchmark n, a non-negative integer (default 100) The solution will be benchmarked; it will be run n times, then the time will be averaged and reported. (If the option is left out, the solution is not benchmarked.)
-i --input one or more filepaths Each of the files specified by the paths will be passed as input to the solution. If the path is relative, it will be treated as relative to the directory of the solution. (If the option is left out, all files in the solution directory are used.)

About

My solutions to Advent of Code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages