🎄🐍
I have no time, because I am finishing my master thesis... So this is Python with no other goals than write it quickly.
Problem | Execution time* | Lines of code** | |
---|---|---|---|
Day 1 | Problem 1 | 1.041 ms + 1.271 ms | 25 |
Day 2 | Problem 2 | 2.747 ms + 3.478 ms | 47 |
Day 3 | Problem 3 | 1.661 ms + 0.912 ms | 32 |
Day 4 | Problem 4 | 7.255 ms + 6.557 ms | 40 |
Day 5 | Problem 5 | 3.245 ms + 2.830 ms | 42 |
Day 6 | Problem 6 | 0.874 ms + 3.620 ms | 22 |
Day 7 | Problem 7 | 4.119 ms + 3.598 ms | 77 |
Day 8 | Problem 8 | 22.00 ms + 43.57 ms | 72 |
Day 9 | Problem 9 | 20.41 ms + 70.06 ms | 46 |
Day 10 | Problem 10 | 0.074 ms + 0.108 ms | 49 |
Day 11 | Problem 11 | 0.986 ms + 467.7 ms | 62 |
Day 12 | Problem 12 | 8.350 ms + 7.498 ms | 78 |
Day 13 | Problem 13 | 17.26 ms + 14.38 ms | 47 |
Day 14 | Problem 14 | 22.36 ms + 22.11 ms | 104 |
Day 15 | Problem 15 | 0.235 ms + 0.737 ms | 121 |
Day 16 | Problem 16 | 267.7 ms + 228.6 ms | 108 |
Day 17 | Problem 17 | 124.9 ms + 217.4 ms | 101 |
Day 18 | Problem 18 | 8.498 ms + 67.79 ms | 35 |
Day 19 - CP | Problem 19 | 2.286 s + 747.2 ms | 88 |
Day 19 - classic | Problem 19 | 18.48 s + 22.50 s | 163 |
Day 20 | Problem 20 | 111.6 ms + 824.6 ms | 145 |
Day 21 | Problem 21 | 26.07 ms + 16.80 ms | 76 |
Day 22 | Problem 22 | 253.8 ms + 133.9 ms | 180 |
Day 23 | Problem 23 | 267.2 ms + 9.862 s | 93 |
Day 24 | Problem 24 | 855.0 ms + 2.944 s | 81 |
Day 25 | Problem 25 | 1.149 ms | 43 |
* I've just run it 10 times and divided it
** Without empty lines and comments