結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-15 13:57:19 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 161 bytes |
| 記録 | |
| コンパイル時間 | 398 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,452 KB |
| 最終ジャッジ日時 | 2026-03-25 22:06:49 |
| 合計ジャッジ時間 | 14,410 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 WA * 8 |
ソースコード
N = int(input())
ans = 0
for i in range(2, int(N**0.5)+1):
while N%i==0:
N //= i
ans += 1
if ans >= 3:
print("YES")
else:
print("NO")