Prime Numbers

Check whether a number is prime or not. The input is a single integer, n (0 ≤ n < 2^31)

Sample Input 1

7

Sample Output 1

Prime

Sample Input 2

4

Sample Output 2

Not Prime

Submitting to 'Prime Numbers'


You're not logged in! Click here to login


Submitting to 'Prime Numbers'


You're not logged in! Click here to login


Submitting .cpp to 'Prime Numbers'


You're not logged in! Click here to login


Compile Errors


							
Time Limit: 1 Seconds
Memory Limit: 1024MB
No. of ACs: 336
Your best score: 0
Source: Classic Problem

Subtask Score
1 100
2 0