CHFMOT18 not able to find the bug

https://www.codechef.com/viewsolution/34808863
At which test case its failing?

when s<n answer can be 1 or 2.
1
7 10

Consider the case when s is odd and is less than n.
You can look at my solution here

3 12