[POI 2021/2022 R2] lic
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.
题目背景
题目描述
定义 的「不友好数」 为 的数。
现在你知道了数字 ,你需要求出它的「不友好数」升序排序第 个开始后的 个数。
输入格式
一行,三个数 $n,k,c\ (2 \leq n \leq 10^{14}, 1 \leq k \leq 10^{14}, 1 \leq c \leq 10^5)$。
输出格式
输出 个数,表示第 个 的「不友好数」。
10 3 4
7 9 11 13
提示
样例解释:
的「不友好数」依次为 。
子任务分配如下:
子任务编号 | 特殊性质 | 分值 |
---|---|---|
且 | ||
且 | ||
无特殊限制 |
上述 为输出的最大值, 为 的「不友好数」数量。
模拟赛一
- Status
- Done
- Rule
- IOI
- Problem
- 5
- Start at
- 2025-9-12 7:30
- End at
- 2025-9-12 12:30
- Duration
- 5 hour(s)
- Host
- Partic.
- 13