結果

問題 No.36 素数が嫌い!
ユーザー tookunn_1213tookunn_1213
提出日時 2015-09-05 21:14:51
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 248 ms
コンパイル使用メモリ 6,644 KB
実行使用メモリ 313,272 KB
最終ジャッジ日時 2023-09-26 08:56:56
合計ジャッジ時間 8,252 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 173 ms
148,136 KB
testcase_01 AC 283 ms
244,912 KB
testcase_02 AC 11 ms
5,968 KB
testcase_03 AC 11 ms
5,892 KB
testcase_04 AC 11 ms
6,028 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 16 ms
6,680 KB
testcase_08 AC 12 ms
6,296 KB
testcase_09 AC 12 ms
6,560 KB
testcase_10 AC 12 ms
6,580 KB
testcase_11 AC 406 ms
105,772 KB
testcase_12 AC 1,224 ms
313,272 KB
testcase_13 AC 1,211 ms
312,396 KB
testcase_14 AC 229 ms
196,348 KB
testcase_15 AC 11 ms
5,960 KB
testcase_16 AC 11 ms
5,964 KB
testcase_17 AC 11 ms
6,028 KB
testcase_18 AC 11 ms
6,156 KB
testcase_19 AC 144 ms
125,664 KB
testcase_20 AC 359 ms
312,400 KB
testcase_21 AC 280 ms
240,512 KB
testcase_22 AC 288 ms
247,712 KB
testcase_23 AC 178 ms
150,888 KB
testcase_24 AC 195 ms
167,484 KB
testcase_25 AC 191 ms
164,636 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N = int(raw_input())
f = False
L = int(math.sqrt(N))
for i in range(2,L):
	if N % i == 0:
		f = True
		break
if f:
	print 'YES'
else:
	print 'NO'
0