saiteja_0712's blog

By saiteja_0712, 4 weeks ago, In English

Problem Link : 1895C - Torn Lucky Ticket Submission Link : 257911247

Im getting exit code: -1073741819 (STATUS_ACCESS_VIOLATION), checker exit code: 0, verdict: RUNTIME_ERROR for this code. Im unable to figue out. Can someone help me out in this!!.

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

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Your $$$cf$$$ function returns $$$true$$$ if sizes of strings are equal, which is equivalent to return $$$true$$$ if elements are equal. Comparators have to return $$$false$$$ when elements are equal, otherwise it can lead to errors. Check https://mirror.codeforces.com/blog/entry/70237, and for more detailed info https://mirror.codeforces.com/blog/entry/72525.