数字游戏2
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
数据范围与提示
对于全部数据,。
4月第四周昆十中教研
- Status
- Done
- Problem
- 12
- Open Since
- 2026-5-11 0:00
- Deadline
- 2026-5-28 23:59
- Extension
- 24 hour(s)