Right answer when running as custom input, Wrong answer on submitting


#1

With Input Value : 80, on submitting the judge says my functions returns : 1032407 and the expected value is : 52893034.
When I run my code with 80 as custom input it works perfectly giving the answer as 52893034.
It even works when I check on my computer. Can someone help ?


#2

without code, it will be very hard to spot the bug.:grinning::grinning: