Wrong answer for test case A=11


#1

For A=11 ,my output is 2 as per the expected output. During custom input it correctly output’s 2,but on Test it is showing output as 3. Looks like a bug.


#2

If you are using any global variables, then clear it out every time.