For question NOTALLFL

NOTALLFL question code
https://www.codechef.com/viewsolution/34713260
why my solution is partially correct can anyone mention the test cases that rule out

please help me