11599 - 231001_10/12_practice4-1
|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
| Case 4 |
1 sec |
32 MB |
| Case 5 |
1 sec |
32 MB |
Description
Let the user input an integer 2 ≦ n ≦ 10000000, and judge whether n is a prime or not.
Input
An integer n.
Output
Print the judgement.
There is a “.” at the end of the sentence and you need to change a new line.
Tags