結果

問題 No.36 素数が嫌い!
ユーザー togatoga
提出日時 2015-09-02 10:46:56
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 153 bytes
コンパイル時間 192 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2024-07-18 17:47:52
合計ジャッジ時間 1,170 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
cnt = 0
while i * i <= N:
    while (N % i == 0):
        cnt += 1
        N /= i
if (N != 1):
    cnt += 1
print "YES" if cnt > 2 else "NO"
0