Same solution gave TLE during system testing but passed during practice.

Правка en1, от Mastermind222, 2020-07-30 23:58:51

This is in regard with Codeforces Round #660-Div 2 Problem B. I submitted a solution to this problem in O(n) time complexity. It passed all the pretests but gave TLE in system testing but later during practice the same code was accepted.

Solution submitted during contest: https://mirror.codeforces.com/contest/1388/submission/88486803 gave TLE.

Solution submitted for practice: https://mirror.codeforces.com/contest/1388/submission/88530257 passed all the test cases.

Can a anyone explain me why it happened? Thanks in advance!

Теги #help, #error, #contest, division 2

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Mastermind222 2020-07-31 00:00:05 2 Tiny change: '.\n\nCan a anyone ex' -> '.\n\nCan anyone ex'
en1 Английский Mastermind222 2020-07-30 23:58:51 595 Initial revision (published)