This repository contains my solutions for the Advent of Code. Advent of Code is an annual set of Christmas-themed programming challenges that follow an advent calendar format, where a new challenge is unlocked each day.
Each day's challenge is organized in a separate directory following the year/day format. For example, the solution for Day 1 of the year 2023 is located in the directory 2023/1/.
- 2023/1/: Contains the code and Makefile for Day 1.
- 2023/2/: Contains the code and Makefile for Day 2.
- ... and so on for each day of the challenges.
Make sure you have a C compiler installed, as the solutions are implemented in C.
Clone this repository to your local machine.
git clone https://github.com/newbee1905/adventofcode
cd adventofcode
To compile and run a specific day's solution, use the following commands:
make all
make run-2023_1
To clean up the compiled binaries, use:
make clean
Feel free to fork this repository and submit pull requests with improvements or alternative solutions to the challenges. You can also open issues for any bugs or suggestions.
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.