guidoschmidt/advent-of-code
🎄🖤🦎 Advent of Code 2023/2024 using zig
zig build run
to select a specific dayzig build run -- DAY
, e.g. zig build run -- 9
to run a specific dayTo obtain the puzzle inputs, you need to set the environment variable
ACO_COOKIE
to the session cookie value from adventofcode.com:
fish shell:
set -Ux AOC_COOKIE session=XXX...
Powershell:
[System.Environment]::SetEnvironmentVariable("AOC_COOKIE", "session=XXX...")