Skip to content

bodkan/adventofcode2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

227 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ„ Advent of Code 2019 πŸŽ„

I've been reading about the epic Intcode virtual machine puzzles featured in AoC 2019 for years, and finally decided to give it a go. This time making it a bit easier for myself and writing everything in Python more challenging for myself and writing everything in POSIX awk (which I have never really used before, believe it or not!).

Also, unlike my two previous participations (2021 and 2025, both in R), I'm working on the 2019 AoC edition much more casually, a few years down the line, instead of rushing through things "in real time". In this day and age, I have zero leetcode aspirations.

Solutions

How to

To be able to run all the code (particularly, to be able to fetch puzzle inputs automatically), you should put a file SESSION containing your session cookie ID in the root of this project. On macOS, you can get it by logging to adventofcode.com in Safari, and then going to Develop -> Web Inspector -> Storage -> Cookies and copy pasting the Value content into the SESSION file. The process in other browsers will be similar.

Alternatively, just place the input file for a given day in the data/ directory with a name such as 01.txt (i.e., the advent day number followed by suffix .txt).

About

πŸŽ„ Advent of Code 2019 πŸŽ„

Topics

Resources

Stars

Watchers

Forks

Contributors