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

PROGRAMMING:Judge prime numbers.

Luz5年前 (2021-05-10)题库375
Judge whether the input integer is prime, if so, output "1", otherwise output "0."
###Input format:
Enter an integer.
###Output format:
Output 1 or 0 as required, and wrap the last line.
###Input sample 1:
```in
seventeen
```
###Output sample 1:
```out
one
```
###Input sample 2:
```in
two thousand four hundred and eighty-eight
```
###Output sample 2:
```out
0
```







answer:If there is no answer, please comment