結果

問題 No.36 素数が嫌い!
ユーザー MintMint
提出日時 2015-05-30 22:27:13
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 165 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 6,672 KB
実行使用メモリ 6,204 KB
最終ジャッジ日時 2023-09-20 17:50:27
合計ジャッジ時間 12,337 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 12 ms
6,132 KB
testcase_03 AC 12 ms
6,108 KB
testcase_04 AC 11 ms
6,092 KB
testcase_05 AC 14 ms
6,088 KB
testcase_06 AC 14 ms
6,024 KB
testcase_07 AC 14 ms
6,076 KB
testcase_08 AC 13 ms
6,136 KB
testcase_09 AC 14 ms
6,048 KB
testcase_10 WA -
testcase_11 AC 297 ms
6,124 KB
testcase_12 AC 890 ms
6,100 KB
testcase_13 AC 885 ms
6,036 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 12 ms
6,048 KB
testcase_17 AC 11 ms
6,052 KB
testcase_18 AC 12 ms
6,064 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 544 ms
6,108 KB
testcase_27 AC 764 ms
6,148 KB
testcase_28 AC 533 ms
6,036 KB
testcase_29 AC 856 ms
6,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

n = input()
result = []

for i in xrange(2, (int)(math.sqrt(n))):
	if n % i == 0:
		result.append(i)

if 3 < len(result):
	print "YES"
else:
	print "NO"
0