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

PROGRAMMING:twin primes

Luz5年前 (2021-05-10)题库448
The program inputs integers m (m < 20000) and n (n < 10) and outputs the first n pairs of prime twins larger than m. Twin primes are two primes with a difference of 2.
###Input example:
```in
100 5
```
###Output example:
```out
101,103
107,109
137,139
149,151
179,181
```







answer:If there is no answer, please comment