結果
| 問題 |
No.36 素数が嫌い!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-15 13:58:44 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 1,625 ms / 5,000 ms |
| コード長 | 183 bytes |
| コンパイル時間 | 353 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-04 14:11:45 |
| 合計ジャッジ時間 | 21,640 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 |
ソースコード
N = int(input())
ans = 0
for i in range(2, int(N**0.5)+1):
while N%i==0:
N //= i
ans += 1
if N!=1:
ans += 1
if ans >= 3:
print("YES")
else:
print("NO")