spk's blog

By spk, 8 years ago, In English

So i got lucky that my solution for problem div2 B passed, which should not have. check out test case #4 , link

can anyone tell me why this happened?

UDP: got it!

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
8 years ago, # |
  Vote: I like it +1 Vote: I do not like it

x <= 1e18 and 34633219836 forms a magic square if you think about it so your answer is right.