[ROIR 2021 Day 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.
题目背景
题目描述
定义第一类好数为所有数位上的数字均相同的数。
定义第二类好数为满足如下任意一个条件的数:
- 为第一类好数。
- 设 为数的位数,则有 位数上的数字相同,且无前导零。
现给定一个 ,求出 的第一个第 类好数 。
输入格式
第一行一个整数 。
第二行一个整数 。
输出格式
一行一个整数 。
700
0
777
700
1
700
提示
对于所有子任务 ,。
子任务编号 | 特殊限制 | 分值 |
---|---|---|
, | ||
无特殊限制 |
CSP难度的题目
- Status
- Done
- Rule
- IOI
- Problem
- 19
- Start at
- 2024-10-28 8:00
- End at
- 2024-10-30 8:00
- Duration
- 48 hour(s)
- Host
- Partic.
- 14