[语言月赛 202403] 星云
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.
题目背景
你看,那一抹云,衬着星星,多美啊!
题目描述
定义星云数为位数不大于 且各数位之和不超过 的正整数,给定 ,求星云数的个数。
输入格式
第一行输入两个整数 。
输出格式
输出一行一个整数,表示答案。
3 2
9
提示
数据规模与约定
对于 的数据,。
对于 的数据,,。
小蒙新冬令营[day2]
- Status
- Done
- Problem
- 7
- Open Since
- 2026-1-27 0:00
- Deadline
- 2026-1-28 23:59
- Extension
- 24 hour(s)