Windy 数
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.
题目描述
原题来自:SCOI 2009
Windy 定义了一种 Windy 数:不含前导零且相邻两个数字之差至少为 的正整数被称为 Windy 数。
Windy 想知道,在 和 之间,包括 和 ,总共有多少个 Windy 数?
输入格式
一行两个数,分别为 。
输出格式
输出一个整数,表示答案。
样例 1
1 10
9
25 50
20
数据范围与提示
的数据,满足 ;
的数据,满足 。
4月第四周昆十中教研
- Status
- Done
- Problem
- 12
- Open Since
- 2026-5-11 0:00
- Deadline
- 2026-5-28 23:59
- Extension
- 24 hour(s)