結果

問題 No.36 素数が嫌い!
ユーザー threepipes_s
提出日時 2015-12-30 01:29:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 3,275 ms / 5,000 ms
コード長 180 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-06-27 00:38:40
合計ジャッジ時間 42,226 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
i = 2
count = 0
m = n
while(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")
0