DWITE Online Computer Programming Contest, November 2007, Problem 1
In mathematics, a semiprime number is a natural number that is the product of exactly two prime numbers. For example:
The input will contain five integers, one per line.
The output will contain five lines, stating if the supplied integers were semiprime
or not
.
Sample Input
Copy
2
3
4
5
6
Sample Output
Copy
not
not
semiprime
not
semiprime
Problem Resource: DWITE
Comments
Why is there only one test case? My first solution shouldn't have passed, but since there's only one case, it happened to be correct.
This comment is hidden due to too much negative feedback. Show it anyway.
Thanks