3 ms·
I should probably finish last year's. I did all parts mostly in time except for day 20, I couldn't figure out part 2 and just refused to do it.
by steinuil 5y ago
I should probably finish last year's. I did all parts mostly in time except for day 20, I couldn't figure out part 2 and just refused to do it.
- jstx1 5y agoDay 20 last year was definitely the most time-consuming and longest solution. If I remember correctly, the inputs for that day have a guarantee that's not mentioned in the instructions, so you can just write a naive brute-force-ish solution and get the answer in a reasonable running time.