結果

問題 No.36 素数が嫌い!
ユーザー tookunn_1213
提出日時 2015-09-05 21:20:58
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 6,940 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-19 04:12:55
合計ジャッジ時間 8,712 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 17 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

N = long(raw_input())
f = False
i = 2
while i * i <= N:
	if N % i == 0:
		f = True
		break
	i += 1
if f:
	print 'YES'
else:
	print 'NO'
0