advent-of-code-solutions
advent-of-code-solutions copied to clipboard
My solutions to puzzles at https://adventofcode.com/
Advent of Code Solutions 🎄
My solutions to puzzles at adventofcode.com. Also check out my collected tricks.
`}-' `}-'
___ `}-' `}-' ____/`-, _____/`-,
"-_/}__ `}-'_/`-, /`-,( _,,.{-,_(__,,,.(
[(_.-'`--,__ ____/`-,.(,-`}-'_,>___\/`-, >|`---\
[(__\___\ _`-(--...(..-'_`./`-,/(--,,.( // / >
|_______/-' >`---\ / ( `{ >`---\
__|___|__) / \ / \ /`--/< / \ /|
/ \/ \
See also:
- erikw/hackerrank-solutions
- erikw/kattis-solutions
- erikw/leetcode-solutions
- erikw/project-euler-solutions
2022 Results
Day | Part 1 | Part 2 |
---|---|---|
Day 1 | ⭐ | ⭐ |
Day 2 | ⭐ | ⭐ |
Day 3 | ⭐ | ⭐ |
Day 4 | ⭐ | ⭐ |
Day 5 | ⭐ | ⭐ |
Day 6 | ⭐ | ⭐ |
Day 7 | ⭐ | ⭐ |
Day 8 | ⭐ | ⭐ |
Day 9 | ⭐ | ⭐ |
Day 10 | ⭐ | ⭐ |
Day 11 | ⭐ | ⭐ |
Day 12 | ⭐ | ⭐ |
Day 13 | ⭐ | ⭐ |
Day 14 | ⭐ | ⭐ |
Day 15 | ⭐ | ⭐ |
Development Setup
Env: Ruby
brew bundle install
bundle install
Env: JavaScript
npm install
Solve puzzle
and now solve today's puzzle or a specific one
bin/solve_day.sh
bin/solve_day.sh 19/5 # 2019 day 5
bin/solve_day.sh -l rb # Solve with language, here ruby
Session Cookie Expired?
Update:
-
AOC_SESSION
in local.env
-
AOC_SESSION
at Action Secret for .github/workflows/readme-stars.yml -
SESSION
at Vercel Envvar for stackcats/adventofcode-badge- Then redeploy to restart the service.