結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2023-12-27 23:31:08 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 119 bytes |
| 記録 | |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 57,856 KB |
| 最終ジャッジ日時 | 2026-04-14 10:16:55 |
| 合計ジャッジ時間 | 2,082 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 17 WA * 9 |
ソースコード
N = int(input())
i = 2
while i * i <= N:
if N % i == 0:
print("YES")
exit()
i += 1
print("NO")
ntuda