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

Автор dunjen_master, история, 5 лет назад, По-английски

Her is the link to my submission on which i got WA at pretest 11 https://codeforces.com/contest/1139/submission/51643042

I just uncommented the line ans=(ans+mod)%mod and it got accpeted although in the previous line i had done ans=(? -ans +mod)%mod.

Someone please explain me why did my code failed at test 11 ?

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