結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-07 17:41:47 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 432 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 21,756 KB |
| 最終ジャッジ日時 | 2026-04-06 19:30:48 |
| 合計ジャッジ時間 | 12,979 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 4 |
| other | TLE * 1 -- * 25 |
ソースコード
N = int(input())
ans = 0
for i in range(2, N // 2):
while N % i == 0:
N = N // i
ans += 1
if ans == 3:
break
if ans < 3:
print("NO")
else:
print("YES")