結果

問題 No.36 素数が嫌い!
ユーザー yuki2006
提出日時 2014-10-07 22:11:51
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 234 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-12-30 07:28:36
合計ジャッジ時間 1,755 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 15 WA * 11
権限があれば一括ダウンロードができます

ソースコード

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