This repo contains my solutions for different years.
Benchmarks are run on an "Intel i7-10700K @ 5.100Ghz CPU". Use the
--release
flag when benchmarking a day.
Day | Solution | Stars | Parse benchmark | Part 1 benchmark | Part 2 benchmark |
---|---|---|---|---|---|
Day 1: Historian Hysteria | Here | ⭐⭐ | 63µ | 264ns | 50µs |
Day 2: Red-Nosed Reports | Here | ⭐⭐ | 142µs | 7µs | 57µs |
Day 3: Mull It Over | Here | ⭐⭐ | 65µs | 345ns | 466ns |
Day 4: Ceres Search | Here | ⭐⭐ | 7µs | 1ms | 360µs |
Day 5: Print Queue | Here | ⭐⭐ | 201µs | 395µs | 797µs |
Day 6: Guard Gallivant | Here | ⭐⭐ | 36µs | 251µs | 1s |
Day 7: Bridge Repair | Here | ⭐⭐ | 455µs | 578µs | 84ms |
Day 8: Resonant Collinearity | Here | ⭐⭐ | 21µs | 116µs | 92µs |
Day 9: Disk Fragmenter | Here | ⭐⭐ | 1ms | 520ms | 332ms |
Day 10: Hoof It | Here | ⭐⭐ | 65µs | 489µs | 436µs |
Day 11: Plutonian Pebbles | Here | ⭐⭐ | 1µs | 582µs | 32ms |
Day 12: Garden Groups | Here | ⭐ | 3ms | 101ms | - |
While being at the 2024 directory:
cargo run -- [--day <day>] [--sample] [--bench <n>]
--day=<1-25> Optional (default:
1
). Specifies the day to execute the puzzle(1-25)
--sample: Optional (default:
false
). If set, the input file will be thesample.txt
located in the inputs folder.
--bench=<n>: Optional (default:
0
). If set, the puzzles will runn
times, outputing only the average timings.