在 线 评 测 系 统
Toggle navigation
HNUAHE-OJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1844--可乐喜欢数字7
1844: 可乐喜欢数字7
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MiB
Submit
Solved: 0
Submit Num: 0
Statistics
ShowOff!
Description
可乐喜欢数字
7
(只要有
7
就喜欢),所以他想知道
在正整数
n范围以内包含有多少个数字
是他不喜欢的
。
Input
输入
正整数n(0=<n<=10000)
Output
n范围以内包含有多少个数字
是他不喜欢的
Sample Input
Copy
20
Sample Output
Copy
18
Source/Category
admin