You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
OMGOMG 7f2143020c Inputs, solutions, and other scripts 2 years ago
.gitignore Inputs, solutions, and other scripts 2 years ago
README.md Inputs, solutions, and other scripts 2 years ago
eight.py Inputs, solutions, and other scripts 2 years ago
eighteen.bash Inputs, solutions, and other scripts 2 years ago
eighteen.py Inputs, solutions, and other scripts 2 years ago
eleven.py Inputs, solutions, and other scripts 2 years ago
fifteen.awk Inputs, solutions, and other scripts 2 years ago
first Inputs, solutions, and other scripts 2 years ago
five.awk Inputs, solutions, and other scripts 2 years ago
five.py Inputs, solutions, and other scripts 2 years ago
five.txt Inputs, solutions, and other scripts 2 years ago
fivereduce.py Inputs, solutions, and other scripts 2 years ago
fivesub.py Inputs, solutions, and other scripts 2 years ago
four.py Inputs, solutions, and other scripts 2 years ago
fourteen.py Inputs, solutions, and other scripts 2 years ago
gettoday Inputs, solutions, and other scripts 2 years ago
input1 Inputs, solutions, and other scripts 2 years ago
input2 Inputs, solutions, and other scripts 2 years ago
input3 Inputs, solutions, and other scripts 2 years ago
input4 Inputs, solutions, and other scripts 2 years ago
input5 Inputs, solutions, and other scripts 2 years ago
input6 Inputs, solutions, and other scripts 2 years ago
input7 Inputs, solutions, and other scripts 2 years ago
input8 Inputs, solutions, and other scripts 2 years ago
input9 Inputs, solutions, and other scripts 2 years ago
input10 Inputs, solutions, and other scripts 2 years ago
input11 Inputs, solutions, and other scripts 2 years ago
input12 Inputs, solutions, and other scripts 2 years ago
input13 Inputs, solutions, and other scripts 2 years ago
input14 Inputs, solutions, and other scripts 2 years ago
input15 Inputs, solutions, and other scripts 2 years ago
input16 Inputs, solutions, and other scripts 2 years ago
input17 Inputs, solutions, and other scripts 2 years ago
input18 Inputs, solutions, and other scripts 2 years ago
input19 Inputs, solutions, and other scripts 2 years ago
input20 Inputs, solutions, and other scripts 2 years ago
input21 Inputs, solutions, and other scripts 2 years ago
input22 Inputs, solutions, and other scripts 2 years ago
input23 Inputs, solutions, and other scripts 2 years ago
input24 Inputs, solutions, and other scripts 2 years ago
input25 Inputs, solutions, and other scripts 2 years ago
nine.py Inputs, solutions, and other scripts 2 years ago
nineteen.py Inputs, solutions, and other scripts 2 years ago
one.awk Inputs, solutions, and other scripts 2 years ago
one.py Inputs, solutions, and other scripts 2 years ago
second Inputs, solutions, and other scripts 2 years ago
seven.py Inputs, solutions, and other scripts 2 years ago
seventeen.py Inputs, solutions, and other scripts 2 years ago
seventeen_nest.py Inputs, solutions, and other scripts 2 years ago
siix.py Inputs, solutions, and other scripts 2 years ago
sixteen.py Inputs, solutions, and other scripts 2 years ago
template.py Inputs, solutions, and other scripts 2 years ago
ten.py Inputs, solutions, and other scripts 2 years ago
ten.txt Inputs, solutions, and other scripts 2 years ago
thirteen.py Inputs, solutions, and other scripts 2 years ago
thirteen.txt Inputs, solutions, and other scripts 2 years ago
three.py Inputs, solutions, and other scripts 2 years ago
twelve.py Inputs, solutions, and other scripts 2 years ago
twenty.py Inputs, solutions, and other scripts 2 years ago
twenty_anim.py Inputs, solutions, and other scripts 2 years ago
twentyfive.py Inputs, solutions, and other scripts 2 years ago
twentyfour.py Inputs, solutions, and other scripts 2 years ago
twentyone.py Inputs, solutions, and other scripts 2 years ago
twentythree.py Inputs, solutions, and other scripts 2 years ago
twentytwo.py Inputs, solutions, and other scripts 2 years ago
two.bash Inputs, solutions, and other scripts 2 years ago
two.py Inputs, solutions, and other scripts 2 years ago

README.md

Advent of Code 2020 solutions

A set of 25 puzzle inputs and 50 puzzle solutions, two for each day. Most of these were written within an hour of the puzzle's release. The puzzles can be found here, although only the first one is visible until you solve it.

Most solutions output just two lines, the answers to part 1 and 2, but some provide more information or a rudimentary animation.

Run a solution by passing the input as an argument:

./four.py input4

Or via the standard input:

./fifteen.awk <input15