/AdventOfCode2024

My Advent of Code 2024 solutions in C++

Primary LanguageC++

Advent of Code 2024

My Advent of Code 2024 solutions in the C++ programming language. In addition to the source code, the runtimes for each day and part are provided below. One of the goals was for each solution to run in under a second or so. The code was executed on an Intel Core i7-8550U CPU with 20GB of RAM, running Windows 11 Pro.

Solutions

Day Stars Problems Solutions Runtime Part 1 [ms] Runtime Part 2 [ms]
1 ⭐⭐ Problem Solution 1.298 1.184
2 ⭐⭐ Problem Solution 1.536 1.854
3 ⭐⭐ Problem Solution 1.602 2.147
4 ⭐⭐ Problem Solution 0.868 0.389
5 ⭐⭐ Problem Solution 3.544 4.525
6 ⭐⭐ Problem Solution 1.099 1098.23
7 ⭐⭐ Problem Solution 3.981 78.564
8 ⭐⭐ Problem Solution 0.143 0.225
9 ⭐⭐ Problem Solution 3.409 303.72
10 ⭐⭐ Problem Solution 0.725 0.217
11 ⭐⭐ Problem Solution 0.901 18.457
12 ⭐⭐ Problem Solution 0.767 8.266
13 ⭐⭐ Problem Solution 0.542 0.576
14 ⭐⭐ Problem Solution 0.411 958.4
15 ⭐⭐ Problem Solution 3.058 13.235
16 ⭐⭐ Problem Solution 16.303 46.573
17 ⭐⭐ Problem Solution 0.064 0.096
18 ⭐⭐ Problem Solution 3.831 10.536
19 ⭐⭐ Problem Solution 12.656 62.675
20 ⭐⭐ Problem Solution 19.601 206.035
21 ⭐⭐ Problem Solution 0.163 0.264
22 ⭐⭐ Problem Solution 29.427 968.4
23 ⭐⭐ Problem Solution 3.165 646.04
24 ⭐⭐ Problem Solution 0.657 0.397
25 ⭐⭐ Problem Solution 1.132 🎄