My Advent of Code solutions, organized by year and day. While I aim for clean and reasonable approaches, my primary goal is to have fun, so not all solutions will be perfect or fully optimized.
Additionally, this repository includes a simple bash script to automate fetching the puzzle input for each day. To use it, follow these steps:
- Ensure
curlis installed. - Retrieve your session cookie from your browser after logging in to Advent of Code, and set its value as an environment variable named
AOC_SESSION(you can use a.envfile for this). - Grant the script execution permissions:
chmod +x fetch_input.sh
- Run the script with:
./fetch_input.sh <year> <day>