結果

問題 No.36 素数が嫌い!
ユーザー threepipes_sthreepipes_s
提出日時 2015-12-30 01:31:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 11,804 KB
実行使用メモリ 10,104 KB
最終ジャッジ日時 2023-10-19 12:30:58
合計ジャッジ時間 2,342 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
10,064 KB
testcase_01 WA -
testcase_02 AC 31 ms
10,032 KB
testcase_03 AC 31 ms
10,032 KB
testcase_04 AC 30 ms
10,032 KB
testcase_05 AC 31 ms
10,064 KB
testcase_06 AC 31 ms
10,032 KB
testcase_07 AC 32 ms
10,032 KB
testcase_08 AC 30 ms
10,064 KB
testcase_09 AC 30 ms
10,064 KB
testcase_10 AC 30 ms
10,064 KB
testcase_11 AC 38 ms
10,032 KB
testcase_12 AC 47 ms
10,032 KB
testcase_13 AC 47 ms
10,032 KB
testcase_14 AC 42 ms
10,064 KB
testcase_15 AC 30 ms
10,064 KB
testcase_16 AC 30 ms
10,032 KB
testcase_17 AC 30 ms
10,032 KB
testcase_18 AC 31 ms
10,064 KB
testcase_19 AC 42 ms
10,064 KB
testcase_20 WA -
testcase_21 AC 49 ms
10,064 KB
testcase_22 AC 48 ms
10,064 KB
testcase_23 AC 42 ms
10,064 KB
testcase_24 WA -
testcase_25 AC 46 ms
10,064 KB
testcase_26 AC 48 ms
10,064 KB
testcase_27 AC 50 ms
10,064 KB
testcase_28 AC 46 ms
10,064 KB
testcase_29 AC 49 ms
10,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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")
0