結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
syunsuke
|
| 提出日時 | 2019-07-06 16:25:32 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 57,856 KB |
| 最終ジャッジ日時 | 2026-04-12 14:25:08 |
| 合計ジャッジ時間 | 2,169 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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