sgupta98's blog

By sgupta98, history, 7 years ago, In English

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

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

»
7 years ago, hide # |
 
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.