Labels
time limit
What's wrong?
The origin of this problem (ICPC World Finals 2025) allowed 4 seconds instead of the 1 second limit on Kattis, and based on the fastest C++ full solve on Kattis taking 0.25 seconds, and no full solves in Python, I think it's highly likely that more than 1 second is indeed needed for Python.
(My current Python submission on Kattis gets TLE simply because it's not yet using an efficient data structure (I was only confirming my non-DS logic). I'm not making this report based on that, but based on anticipation that it will still get TLE once I implement the data structure properly. I'm hoping to not need to port it to C++ afterward to get the credit!)
Fixing it
Labels
time limit
What's wrong?
The origin of this problem (ICPC World Finals 2025) allowed 4 seconds instead of the 1 second limit on Kattis, and based on the fastest C++ full solve on Kattis taking 0.25 seconds, and no full solves in Python, I think it's highly likely that more than 1 second is indeed needed for Python.
(My current Python submission on Kattis gets TLE simply because it's not yet using an efficient data structure (I was only confirming my non-DS logic). I'm not making this report based on that, but based on anticipation that it will still get TLE once I implement the data structure properly. I'm hoping to not need to port it to C++ afterward to get the credit!)
Fixing it