Custom comparators unusual behavior

Revision en1, by Nabiur_Raouf, 2022-08-31 13:30:15

In recent codeforces div-4 contest problem D I need to use custom comparator for which I was getting runtime error to this code then I changed it to thiscode and get accepted. What caused me runtime time error, as it seems like correct?

Tags custom comparator, runtime error, need help, debug

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Nabiur_Raouf 2022-08-31 13:30:15 443 Initial revision (published)