Problem Description
請判斷某數是否為質數
The Input
一個整數x, x>= 2 且 x<=2147483647
The Output
質數或非質數
Sample Input
13
14
Sample Output
質數
非質數
-----* Problem from【ZeroJudge, an Online Judge System For Beginners】
My Answer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
||
全站熱搜