Skip to content

Advent of Code Solutions

Notifications You must be signed in to change notification settings

jakesco/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

My solutions for Advent of Code.

Solutions

2015 [Javascript]
2017 [C]
2019 [Rust]
2021 [Python]
2022 [Python]
2023 [Python]
2024 [Haskell]

Puzzle Input Tip

If you have your Advent of Code session token saved to a file like .token, you can download your test input with curl:

$ curl "https://adventofcode.com/2022/day/1/input" \
       --header "Cookie: $(cat .token)"

You can find your session token by looking at the Cookie header in the network tab in your browser tools when navigating to https://adventofcode.com/2022/day/1/input. Save the value of this Cookie header in .token. e.g.

session=XXXX