結果
| 問題 |
No.36 素数が嫌い!
|
| コンテスト | |
| ユーザー |
threepipes_s
|
| 提出日時 | 2015-12-30 01:31:10 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 182 bytes |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-19 08:35:49 |
| 合計ジャッジ時間 | 2,089 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 WA * 3 |
ソースコード
n = int(input())
i = 2
count = 0
m = n
while(i*i*i<=n):
while(m%i==0):
m /= i
count += 1
i+=1
if(m>1): count += 1
if(count>2): print("YES")
else: print("NO")
threepipes_s