https://github.com/leechristie/advent-of-code-2024
My solutions to Eric Wastl's Advent of Code 2024.
https://github.com/leechristie/advent-of-code-2024
advent-of-code advent-of-code-2024 adventofcode adventofcode2024 aoc aoc2024 c c-lang c-language c23 clion cpp cpp23 puzzle python python3 python313
Last synced: about 1 month ago
JSON representation
My solutions to Eric Wastl's Advent of Code 2024.
- Host: GitHub
- URL: https://github.com/leechristie/advent-of-code-2024
- Owner: leechristie
- License: mit
- Created: 2024-10-20T20:21:46.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T16:52:11.000Z (4 months ago)
- Last Synced: 2025-02-03T23:43:10.079Z (3 months ago)
- Topics: advent-of-code, advent-of-code-2024, adventofcode, adventofcode2024, aoc, aoc2024, c, c-lang, c-language, c23, clion, cpp, cpp23, puzzle, python, python3, python313
- Language: Python
- Homepage: https://adventofcode.com/2024
- Size: 286 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2024
My solutions to Eric Wastl's Advent of Code 2024 in C, C++, and Python.
## Solution Timing
Below I timed the runtime of my solutions on my input files. All timing done on Apple M4 Pro.
Differences in timing between languages depend on my level of familiariy with the language, the efficiency of that language itself, and the different method or algorithm I happened to choose when solving that puzzle in that language, and how long I actually spend trying to make it fast. Also, sometimes the language I use first will be faster because the second time I implement a solution I understand the problem better.
| | | [](/aoc24c/)
[C](/aoc24c/) | [](/aoc24cpp/)
[C++](/aoc24cpp/) | [](/aoc24java/)
[Java](/aoc24java/) | [](/aoc24py/)
[Python](/aoc24py/) |
|:--:|:-----------------------------------------------|:-----------------------------------------------:|:---------------------------------------------------------:|:-----------------------------------------------------------------:|:-------------------------------------------------------------:|
|⭐️⭐️| [Day 1](https://adventofcode.com/2024/day/1) | 255 ± 15 μs | 189 ± 32 μs | | 511 ± 32 μs |
|⭐️⭐️| [Day 2](https://adventofcode.com/2024/day/2) | 253 ± 16 μs | 174 ± 23 μs | | 1,381 ± 44 μs |
|⭐️⭐️| [Day 3](https://adventofcode.com/2024/day/3) | 299 ± 17 μs | 1,445 ± 150 μs | | 430 ± 20 μs |
|⭐️⭐️| [Day 4](https://adventofcode.com/2024/day/4) | 708 ± 28 μs | | | 140,717 ± 1,724 μs |
|⭐️⭐️| [Day 5](https://adventofcode.com/2024/day/5) | 218 ± 14 μs | | | 1,604 ± 41 μs |
|⭐️⭐️| [Day 6](https://adventofcode.com/2024/day/6) | 17,147 ± 298 μs | | | |
|⭐️⭐️| [Day 7](https://adventofcode.com/2024/day/7) | 11,156 ± 115 μs | | | 632,115 ± 4,733 μs |
|⭐️⭐️| [Day 8](https://adventofcode.com/2024/day/8) | 48 ± 4 μs | | | |
|⭐️⭐️| [Day 9](https://adventofcode.com/2024/day/9) | | | 152,341 ± 2,065 μs | |
|⭐️⭐️| [Day 10](https://adventofcode.com/2024/day/10) | 136 ± 8 μs | | | 4,474 ± 129 μs |
|⭐️⭐️| [Day 11](https://adventofcode.com/2024/day/11) | | | | 41,705 ± 1,056 μs |
|⭐️⭐️| [Day 12](https://adventofcode.com/2024/day/12) | | | | 35,211 ± 581 μs |
|⭐️⭐️| [Day 13](https://adventofcode.com/2024/day/13) | | | | 6,734 ± 111 μs |
|⭐️⭐️| [Day 14](https://adventofcode.com/2024/day/14) | | | | 154,662 ± 3,187 μs |
|⭐️⭐️| [Day 15](https://adventofcode.com/2024/day/15) | | | | 24,814 ± 666 μs |
|⭐️ | [Day 16](https://adventofcode.com/2024/day/16) | | | | |
|⭐️ | [Day 17](https://adventofcode.com/2024/day/17) | | | | |
|⭐️⭐️| [Day 18](https://adventofcode.com/2024/day/18) | | | | 504,794 ± 5,652 μs |
|⭐️⭐️| [Day 19](https://adventofcode.com/2024/day/19) | 6,571 ± 90 μs | | | 844,754 ± 27,729 μs |
| | Daa 20 | | | | |
| | Day 21 | | | | |
| | Day 22 | | | | |
| | Day 23 | | | | |
| | Day 24 | | | | |
| | Day 25 | | | | |