How this solution got an AC? This is supposed to get a WA. I read the problem carefully.
Can you guys please tell me how this solution get an AC?
Problem link: https://www.codechef.com/CUBE2020/problems/ROBINFW/
Submission link: https://www.codechef.com/viewsolution/29890915
Notice: I wondered that he got an AC during the contest. It is a problem of C Cube contest on CC. I tried this code after the contest end. But I got a WA, then how he got an AC during the contest?