Docoding OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
4358: 【入门】有0的数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:65
Solved:38
Submit
Submit Record
Statistics
ShowOff!
Description
请求出1~n中含有数字0的数,有多少个?
Input
一个整数n(n<=999)
Output
一个整数,代表1~n中含有数字0的数的个数。
Sample Input
Copy
80
Sample Output
Copy
8
Source/Category
循环
求和计数
Submit
Submit Record
Statistics
ShowOff!