Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

Блог пользователя M.Dawwas

Автор M.Dawwas, история, 9 лет назад, По-английски

Hello Every Body :D

i have solved this problem on spoj : http://www.spoj.com/problems/SUMFOUR

but there is something I didn't understand

this code get ACCEPTED : https://ideone.com/8fS4Ll

while this TLE : https://ideone.com/HakngE

any explanation for that ?

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

»
9 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Wow just swapped those variables in my 1 year old TLE'd solution, and today finally it got AC.

I guess the test cases are built like that in the problem.