Problem Link : 1895C - Порванный счастливый билет 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!!.
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://codeforces.com/blog/entry/70237, and for more detailed info https://codeforces.com/blog/entry/72525.
got it bro thanks!