Doing some Advent of Code puzzles in different languages to remember or learn them.
Download puzzle input and save it to input.txt in the challenge day directory.
Or use the command line with curl:
curl https://adventofcode.com/2023/day/1/input \
--cookie "session=$SESSION_ID" \
--output ./2023/day-01/input.txtOpen the script file in Visual Studio Code, then open the Command Palette
(default: Ctrl+Shift+P) and select Run build task (default: Ctrl+Shift+B),
then select the task to run.
gcc day-01.c -o day-01
./day-01lua day-01.luadotnet script day-01.csxpython day-01.pyrustc day-01.rs -o day-01
./day-01go run day-01.gonode day-01.js