Welcome to my Advent of Code repository !
This is where I document my journey through the yearly coding challenges of the Advent of Code event. Each day, a new problem is solved, and the solutions are added to this repo.
advent_of_code/
│
├── files/ # Input files for each day's challenges
│ ├── 1.txt # Input for Day 1
│ ├── 2.txt # Input for Day 2
│ └── ... # More inputs
│
├── day1.py # Solution for Day 1
├── day2.py # Solution for Day 2
├── dayX.py # Solutions for future days
│
└── README.md # You're reading this!
-
Clone the repository:
git clone https://github.com/ironlam/advent-of-code.git cd advent-of-code -
Open the project in PyCharm:
- Launch PyCharm.
- Open the
advent_of_codefolder as your project.
-
Add the input files:
- Copy your input data into the
files/directory, naming them1.txt,2.txt, etc.
- Copy your input data into the
-
Run a day's solution:
- Open the relevant
dayX.pyfile in PyCharm. - Run the script using PyCharm's built-in Run button.
- Open the relevant
| Day | Challenge Name | Stars 🌟 |
|---|---|---|
| 1 | Historian Hysteria | ⭐⭐ |
| 2 | Red-Nosed Reports | ⭐⭐ |
| 3 | Mull It Over | ⭐⭐ |
| 4 | Ceres Search | ⭐⭐ |
| ... | (More to come) |
Advent of Code is an annual event where participants solve fun and challenging programming puzzles throughout December. You can find the puzzles and participate here: adventofcode.com
- Language: Python 🐍
- Editor: PyCharm
- Dependencies: None (standard library only)
This project is open source and available under the MIT License.