結果
| 問題 |
No.8023 素数判定するだけ
|
| コンテスト | |
| ユーザー |
shobonvip
|
| 提出日時 | 2025-02-08 05:24:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 145 bytes |
| コンパイル時間 | 459 ms |
| コンパイル使用メモリ | 82,652 KB |
| 実行使用メモリ | 53,964 KB |
| 最終ジャッジ日時 | 2025-02-08 05:24:50 |
| 合計ジャッジ時間 | 6,525 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 25 |
ソースコード
n=int(input())
one=int(True)
two=one<<1
if n==one:
print("NO")
exit()
for i in range(two,n):
if n%i:continue
print("NO")
exit()
print("YES")
shobonvip