結果

問題 No.36 素数が嫌い!
ユーザー yuki2006yuki2006
提出日時 2014-10-07 22:11:51
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 6,724 KB
実行使用メモリ 6,076 KB
最終ジャッジ日時 2023-08-28 20:14:43
合計ジャッジ時間 1,505 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
5,964 KB
testcase_01 WA -
testcase_02 AC 10 ms
6,000 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 10 ms
5,944 KB
testcase_07 AC 10 ms
5,924 KB
testcase_08 AC 10 ms
5,852 KB
testcase_09 AC 10 ms
6,000 KB
testcase_10 WA -
testcase_11 AC 10 ms
5,844 KB
testcase_12 AC 9 ms
5,924 KB
testcase_13 AC 10 ms
5,844 KB
testcase_14 WA -
testcase_15 AC 10 ms
5,928 KB
testcase_16 AC 10 ms
5,920 KB
testcase_17 AC 10 ms
6,000 KB
testcase_18 AC 10 ms
6,056 KB
testcase_19 AC 10 ms
5,864 KB
testcase_20 WA -
testcase_21 AC 10 ms
5,852 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 10 ms
5,960 KB
testcase_27 AC 10 ms
5,948 KB
testcase_28 AC 10 ms
5,852 KB
testcase_29 AC 10 ms
5,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

_N = int(raw_input())
c = 2
N = _N
count = 0

while N > 1 and c * c <= _N:

    if N % c == 0 and N // c > 1:
        print "YES"
        break
    else:
        print "NO"
        break
    c += 1
else:
    print "NO"
0