結果

問題 No.36 素数が嫌い!
ユーザー pluto77
提出日時 2016-03-28 09:12:14
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 236 ms / 5,000 ms
コード長 197 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 76,600 KB
実行使用メモリ 76,860 KB
最終ジャッジ日時 2024-06-27 00:44:12
合計ジャッジ時間 5,418 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: utf-8
##yuki_36
import math

n=int(raw_input())

temp=0
for i in xrange(2,int(math.sqrt(n))+1):
 while n%i==0:
  temp+=1
  n/=i
if n>1:
 temp+=1
if temp>=3:
 print "YES"
else:
 print "NO"
0