TLE — time limit exceeded | at codeforces global round 7 — problem d

Правка en1, от inbarin, 2020-03-20 16:10:02

as I submitted my code to D (1 or 2, doesn't matter) it had TLE at test 2. https://mirror.codeforces.com/contest/1326/submission/73715713 I reshuffled the code and it passed. https://mirror.codeforces.com/contest/1326/submission/73724920 now the weird thing is that my original code passed test 2 when I ran it from home. any ideas why or what?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский inbarin 2020-03-20 16:10:02 403 Initial revision (published)