ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1150. Page Numbers

Sbreg How to count zeroes? [1] // Problem 1150. Page Numbers 10 Jun 2003 00:48
I can count digits 1-9, but can't do it with zeroes. Help me!
55555 Re: How to count zeroes? // Problem 1150. Page Numbers 16 Aug 2003 22:17
Do it as other digits.and the result of digit 0 must dec
 power(10,n)+power(10,n-1)+...+power(10,0)
(n is the length of the page)
Good luck!