Vector sorting Issue

Revision en1, by AnasAbbas, 2018-04-30 01:45:30

hello everyone

i'm trying to sort a vector using an explicit compare function

why does this simple code gives me Runtime Error sometimes and sometime Time Limit Exceeded

https://ideone.com/MpRvD9

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English AnasAbbas 2018-04-30 01:45:30 230 Initial revision (published)