993 | CodeChef

My programme is passing all test cases but still it is showing wrong answers
I also tried other testcases they are also matched but codechef is not accepting my code
my code here

Try input as 125 and 126.
Protip: Don’t use log functions unless it’s an emergency, you will get unexpected errors from decimal precision

Agree with @cubercoder . Division would be enough for this.

ok i’ll try