ronith1's blog

By ronith1, history, 34 hours ago, In English

Can anyone please tell me why my submission to a problem gives "Exit code is 2147483647" error. I think I'm getting the error because I have used policy based data structures, but I'm not sure why. The link to my submission: https://codeforces.com/contest/1566/submission/128783408.

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
34 hours ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it
»
34 hours ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

a) https://codeforces.com/blog/entry/70237

b) probably gonna get WA if you don't consider both value and index in your sort (which could/should incidentally fix the above), but I haven't looked beyond that...

drat, ninja'd!

»
30 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

It's runtime error.