結果

問題 No.36 素数が嫌い!
ユーザー tookunn_1213tookunn_1213
提出日時 2015-09-05 21:17:25
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 6,516 KB
実行使用メモリ 313,648 KB
最終ジャッジ日時 2023-09-26 09:12:40
合計ジャッジ時間 10,825 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 172 ms
148,316 KB
testcase_01 AC 284 ms
245,188 KB
testcase_02 AC 11 ms
6,032 KB
testcase_03 AC 11 ms
6,116 KB
testcase_04 AC 11 ms
6,024 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 19 ms
6,956 KB
testcase_08 AC 11 ms
6,436 KB
testcase_09 AC 12 ms
6,692 KB
testcase_10 AC 12 ms
6,524 KB
testcase_11 AC 783 ms
105,896 KB
testcase_12 AC 2,381 ms
313,648 KB
testcase_13 AC 2,386 ms
312,560 KB
testcase_14 AC 233 ms
196,760 KB
testcase_15 AC 12 ms
6,152 KB
testcase_16 AC 12 ms
6,156 KB
testcase_17 AC 11 ms
6,016 KB
testcase_18 AC 11 ms
6,204 KB
testcase_19 AC 150 ms
125,820 KB
testcase_20 AC 349 ms
312,416 KB
testcase_21 AC 271 ms
240,696 KB
testcase_22 AC 280 ms
247,836 KB
testcase_23 AC 178 ms
151,232 KB
testcase_24 AC 194 ms
167,580 KB
testcase_25 AC 191 ms
164,740 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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