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

PROGRAMMING:Twin prime

Luz5年前 (2021-05-10)题库363
Program input positive integer a (10000 > = a > = 2), output not less than a of the first pair of twin prime. Two primes whose difference is 2 are called twin primes.
###Input example:
```in
ten thousand
```
###Output example:
```out
10007 10009
```
###Input example:
```in
three
```
###Output example:
```out
3 5
```






answer:If there is no answer, please comment