結果

問題 No.36 素数が嫌い!
ユーザー pluto77pluto77
提出日時 2016-03-28 09:12:14
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 239 ms / 5,000 ms
コード長 197 bytes
コンパイル時間 662 ms
コンパイル使用メモリ 77,444 KB
実行使用メモリ 77,476 KB
最終ジャッジ日時 2023-09-09 07:35:57
合計ジャッジ時間 6,106 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 152 ms
77,296 KB
testcase_01 AC 203 ms
77,160 KB
testcase_02 AC 75 ms
76,524 KB
testcase_03 AC 78 ms
76,160 KB
testcase_04 AC 76 ms
76,352 KB
testcase_05 AC 76 ms
77,212 KB
testcase_06 AC 80 ms
77,300 KB
testcase_07 AC 78 ms
77,296 KB
testcase_08 AC 77 ms
77,252 KB
testcase_09 AC 77 ms
77,408 KB
testcase_10 AC 77 ms
77,440 KB
testcase_11 AC 119 ms
77,168 KB
testcase_12 AC 207 ms
77,288 KB
testcase_13 AC 206 ms
77,164 KB
testcase_14 AC 178 ms
77,412 KB
testcase_15 AC 79 ms
76,444 KB
testcase_16 AC 76 ms
76,476 KB
testcase_17 AC 76 ms
76,372 KB
testcase_18 AC 76 ms
77,244 KB
testcase_19 AC 140 ms
77,364 KB
testcase_20 AC 239 ms
77,360 KB
testcase_21 AC 201 ms
77,360 KB
testcase_22 AC 206 ms
77,184 KB
testcase_23 AC 155 ms
77,436 KB
testcase_24 AC 162 ms
77,332 KB
testcase_25 AC 161 ms
77,476 KB
testcase_26 AC 175 ms
77,452 KB
testcase_27 AC 216 ms
77,212 KB
testcase_28 AC 175 ms
77,452 KB
testcase_29 AC 235 ms
77,320 KB
権限があれば一括ダウンロードができます

ソースコード

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