输出质数
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
样例输入 #1
1 10
样例输出 #1
2 3 5 7
循环结构小测(一)
- Status
- Done
- Rule
- IOI
- Problem
- 5
- Start at
- 2025-11-2 9:00
- End at
- 2025-12-2 9:00
- Duration
- 1.5 hour(s)
- Host
- Partic.
- 19