My solutions written in C++ 20
Day | Runtime Part 1 |
Runtime Part 2 |
Coded Myself |
Looked up Solution |
---|---|---|---|---|
1 | 300ns | 300ns | ✅ | ❌ |
2 | 2μs | 2.5μs | ✅ | ❌ |
3 | 9μs | 21μs | ✅ | ❌ |
4 | 1.5ms | 1.5ms | ✅ | ❌ |
5 | 3ms | 3ms | ✅ | ❌ |
6 | 700ns | 1.5ms | ✅ | ❌ |
7 | 3μs | 900ns | ✅ | ❌ |
8 | 20μs | 950μs | ✅ | ❌ |
9 | 72.5μs | 150μs | ✅ | ❌ |
10 | 63μs | 150μs | ✅ | ❌ |
11 | 185μs | 187μs | ✅ | ❌ |
12 | 16.5ms | 500ms | ✅ | ❌ |
13 | 197μs | 550.5μs | ✅ | ❌ |
14 | 176.5μs | 727.5μs | ✅ | ✅ |
15 | 651.5μs | 21ms | ✅ | ❌ |
16 | 160μs | 160μs | ✅ | ❌ |
17 | 100ns | 2ms | ✅ | ❌ |
18 | 7ms | 124.5ms | ✅ | ❌ |
19 | 835.5ms | 831.5ms | ✅ | ✅ |
20 | 2.5ms | 201.5ms | ✅ | ❌ |
21 | 700ns | 443ms | ✅ | ✅ |
22 | 7ms | 7ms | ❌ | ✅ |
23 | N/A | N/A | ❌ | ✅ |
24 | 3μs | 3μs | ❌ | ✅ |
25 | 426ms | N/A | ✅ | ❌ |