sgupta98's blog

By sgupta98, history, 5 years ago, In English

my solution is showing RUNTIME ERROR but i m not able to identify the error solution link — https://codeforces.net/contest/1148/submission/54984066

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

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

Pretty sure your comparator is invalid. You should be sorting by the second element in the pair at all times, and not comparing with the first element.