信息学在线评测系统(YCOJ)
Toggle navigation
主页
Problems
Problem Lists
Wiki
Signup
Login
Home
Problems
10325 - 统计数字1
10325 - 统计数字1
统计
1...n
中数字
1
出现的次数。
Input
输入一个正整数
n
。
Output
输出答案
Examples
Input
1
Output
1
Input
11
Output
4
Input
20
Output
12
Time Limit
1000 毫秒
Memory Limit
128 MB
Submit
×
Submit:10325. 统计数字1
Login
Login
Signup
Stats
上一题
下一题
×