数字统计
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
数字统计
题目描述
请统计某个给定范围 的所有整数中,数字 出现的次数。
比如给定范围 ,数字 在数 中出现了 次,在数 中出现 次,在数 中出现 次,在数 中出现 次,在数 中出现 次,所以数字 在该范围内一共出现了 次。
输入格式
输入共 行,为两个正整数 和 ,之间用一个空格隔开。
输出格式
输出共 行,表示数字 出现的次数。
样例 #1
样例输入 #1
2 22
样例输出 #1
6
样例 #2
样例输入 #2
2 100
样例输出 #2
20
提示
。
[测试]龙凤苑中学C班5.16
- Status
- Done
- Rule
- OI
- Problem
- 4
- Start at
- 2024-5-16 16:45
- End at
- 2024-5-16 18:03
- Duration
- 1.3 hour(s)
- Host
- Partic.
- 8