結果
| 問題 | No.8023 素数判定するだけ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-08 01:31:17 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 27 ms / 1,000 ms |
| + 684µs | |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 83 ms |
| コンパイル使用メモリ | 80,512 KB |
| 実行使用メモリ | 54,528 KB |
| 最終ジャッジ日時 | 2026-09-08 01:32:07 |
| 合計ジャッジ時間 | 4,250 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
n=int(input())
if n==len("a"):
print("NO")
exit()
for i in range(len("aa"),n):
if n%i==len(""):
print("NO")
exit()
print("YES")