[SCOI2009] 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.
题目背景
windy 定义了一种 windy 数。
题目描述
不含前导零且相邻两个数字之差至少为 的正整数被称为 windy 数。windy 想知道,在 和 之间,包括 和 ,总共有多少个 windy 数?
输入格式
输入只有一行两个整数,分别表示 和 。
输出格式
输出一行一个整数表示答案。
1 10
9
25 50
20
提示
数据规模与约定
对于全部的测试点,保证 。
ch03 - 数位 DP
- Status
- Done
- Problem
- 8
- Open Since
- 2023-12-8 0:00
- Deadline
- 2024-3-3 23:59
- Extension
- 2400 hour(s)