gXa's blog

By gXa, history, 8 years ago, In English

Why is this https://ideone.com/gCdcs4 giving me runtime error but this does not https://ideone.com/14lMhi for http://mirror.codeforces.com/problemset/problem/779/C?

I have just changed equality sign. I have figured out the input but not aware of why it is happening so?

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

»
8 years ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it

comp(a, a) must return false.

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

Can somebody help?