death_bringer's blog

By death_bringer, history, 3 years ago, In English

Hi, codeforces, Getting straight to the point my submission 143634261 failed at system testing and gave me a runtime error at test case 14. I tried searching about it but the only useful resource I was able to find is this blog but my code can't go beyond the limit and can't go negative. So, please help me.

  • Vote: I like it
  • -8
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Your comparator is fishy:

If a = {1, 2} and b = {1, 2}, then both cmp(a, b) and cmp(b, a) return true.