Рет қаралды 28
Unofficial rank 12! Quite good!
Apparently E2 is 3000R on CLIST so quite glad that I solved that in contest
Also my D is very wrong, I should have used priority queue instead of queue for what is clearly a Dijkstra... I tried hacking it after I AKed but the constraints of the task and my weird implementation makes it quite hard to hack...