dunjen_master's blog

By dunjen_master, history, 6 years ago, In English

Her is the link to my submission on which i got WA at pretest 11 https://mirror.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 ?

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?