結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
kutsutama
|
| 提出日時 | 2018-03-12 17:34:21 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 177 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 13,568 KB |
| 最終ジャッジ日時 | 2026-09-21 01:24:29 |
| 合計ジャッジ時間 | 3,088 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 RE * 3 |
| other | AC * 1 RE * 25 |
ソースコード
import math
n = int(input())
res = 'NO'
if n <= 3:
res = 'NO'
else:
for d in range(3, math.ceil(sqrt(n)), 2):
if n % d == 0:
res = 'YES'
break
print(res)
kutsutama