.. | ||
src/andy_aoc_2023 | ||
pyproject.toml | ||
README.org |
Advent of Code Python
Day 1
source ~/virtualenvs/aoc-2023/bin/activate
cd ~/git/advent-of-code/python/2023
python src/andy_aoc_2023/day1.py src/andy_aoc_2023/day1_big
Answers
54573 54591
Day 2
source ~/virtualenvs/aoc-2023/bin/activate
cd ~/git/advent-of-code/python/2023
python src/andy_aoc_2023/day2.py src/andy_aoc_2023/day2_big
Answers
2600 86036
Day 4
source ~/virtualenvs/aoc-2023/bin/activate
cd ~/git/advent-of-code/python/2023
python src/andy_aoc_2023/day4.py src/andy_aoc_2023/day4_big
Warning: Part 2 is a little slow
~/bin/avg-time 5 python src/andy_aoc_2023/day4.py src/andy_aoc_2023/day4_big
real 8.994000
user 8.982000
sys 0.008000
where avg-time
is this bit of awk
Answers
19135 5704953