U. 三素数数
三素数数
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.
题目背景
蛟川书院的一道练习题
题目描述
如果一个数的所有连续三位数字都是大于 的素数,则该数称为三素数数。比如 是一个 位的三素数数,因为 、、、 都是素数。
输入格式
一个整数 (),表示三素数数的位数。
输出格式
一个整数,表示 位三素数的个数。
由于这个数可能很大,你需要输出答案除以 的余数。
4
204
【蒙青创】2025年CSP-J/S 冲刺【DP T4冲刺AK】
- Status
- Done
- Problem
- 28
- Open Since
- 2025-9-26 0:00
- Deadline
- 2025-11-30 23:59
- Extension
- 24 hour(s)