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

PROGRAMMING:C language experiment -- finding prime numbers between M and n

Luz5年前 (2021-05-10)题库349
Input two positive integers m and n (1 < = m, n < = 500), count and output the number of primes between M and N and the sum of these primes
###Input format:
M and n
###Output format:
The number of primes and the sum of these primes
###Input example:
Here is a set of inputs. For example:
```in
1 100
```
###Output example:
The corresponding output is given here. For example:
```out
25 1060
```







answer:If there is no answer, please comment