Блог пользователя iamujj15

Автор iamujj15, история, 19 месяцев назад, По-английски

In recent Codeforces round #831, I got TLE in the final Test Set (Pretests passed successfully) of Problem B for this submission

I then again submitted this exact same solution but replacing >= with > in my cmp function and it got accepted. Accepted Solution.

I'm unable to understand why I got TLE in my original solution. Please help me with this.

  • Проголосовать: нравится
  • -18
  • Проголосовать: не нравится

»
19 месяцев назад, # |
  Проголосовать: нравится +24 Проголосовать: не нравится

read this -----> https://codeforces.com/blog/entry/70237 <----- read this