### Ahmed_Hussein_Karam's blog

By Ahmed_Hussein_Karam, history, 8 months ago,

Could anyone let me know why this submission doesn't work?

• 0

 » 8 months ago, # |   -9 Because 1 <= x <= 10^12, so you need to set i = long long (line 37).
 » 8 months ago, # |   +7 don't use pow(), it's rather inaccurate
•  » » 8 months ago, # ^ |   0 one time it gave me 98 for 10 squared
•  » » 8 months ago, # ^ |   0 Yes, thanks. It is accepted now