+ 2
Help me to find the solution
2 Answers
+ 4
if i understood your problem right, its a casting problem with the pow function that results in rounding errors,
try this:
https://code.sololearn.com/cvjK2RXzrA1Z/?ref=app
+ 2
Replace a = pow...
With:
a *= 10;
a++;