「一本通 5.3 练习 1」数字游戏
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 19 9
2
数据范围与提示
对于全部数据,。
初一竞赛组作业——数位DP
- Status
- Done
- Problem
- 7
- Open Since
- 2025-3-21 9:30
- Deadline
- 2025-4-26 23:59
- Extension
- 24 hour(s)