結果
| 問題 |
No.36 素数が嫌い!
|
| コンテスト | |
| ユーザー |
syunsuke
|
| 提出日時 | 2019-07-06 16:25:32 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 222 bytes |
| コンパイル時間 | 433 ms |
| コンパイル使用メモリ | 82,120 KB |
| 実行使用メモリ | 59,528 KB |
| 最終ジャッジ日時 | 2024-09-25 09:56:49 |
| 合計ジャッジ時間 | 2,799 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 17 WA * 9 |
ソースコード
n=int(input())
if n==1:
print("NO")
exit()
for i in range(2,10**7+2):
if n%i==0:
if n==i:
print("NO")
exit()
else:
print("YES")
exit()
print("NO")
syunsuke