Comparator function giving runtime error?

Revision en1, by Jady, 2022-06-20 15:49:48

Problem: Facetook Priority Wall

Accepted Solution: Accepted
Runtime error on test case 18: Runtime error

Only main difference between the two submission is of how we implement comparison. Thoughts?
ps: codeforces rookie here, please don't downvote me :)

Tags #strings, comparator

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Jady 2022-06-20 15:49:48 496 Initial revision (published)