-->
当前位置:首页 > 题库

PROGRAMMING:prime number

Luz5年前 (2021-05-10)题库375
Write a program to find the prime number in the range of [a, b].
###Input format:
There are several groups of input data, each group occupies one line, and two numbers a and B are input( Within integer range)
###Output format:
Output prime numbers in the interval of [a, b], separated by spaces( 2<=a,b<=10000)
###Input example:
Here is a set of inputs. For example:
```in
5 10
3 15
```
###Output example:
The corresponding output is given here. For example:
```out
5 7
3 5 7 11 13
```







answer:If there is no answer, please comment