Skip to content

tmo1/adventofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Solutions

This repository contains my solutions to Advent of Code puzzles of various years. They are all written in Python 3; all or almost all use only the standard library, and most import nothing except for sys, for reading the puzzle input. Filenames of the form nn.py and nnb.py in directory yyyy are respectively solutions to the two parts of the puzzles of day nn of year yyyy.

Running

Some of the solutions expect puzzle input in a particular file (specified in the script), while others expect it on standard input; some can be made executable and run as ~/nn.py < input, while others can be run as ~python3 nn.py < input. Some have comments at the top provding additional details or caveats for the particular solution. Most should finish within 15 seconds on ten-year-old hardware; those that do not should have this noted in the comments.

License

All code in this repository is free / open source software, released under the terms of the GNU GPLv3 or later.