結果

問題 No.36 素数が嫌い!
ユーザー togatogatogatoga
提出日時 2015-09-02 10:45:51
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 191 bytes
コンパイル時間 255 ms
コンパイル使用メモリ 6,564 KB
実行使用メモリ 814,816 KB
最終ジャッジ日時 2023-09-25 22:06:17
合計ジャッジ時間 2,518 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 AC 11 ms
5,984 KB
testcase_03 AC 12 ms
6,036 KB
testcase_04 AC 11 ms
5,984 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 MLE -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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