結果

問題 No.36 素数が嫌い!
ユーザー MintMint
提出日時 2015-05-30 22:43:15
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 6,700 KB
実行使用メモリ 6,208 KB
最終ジャッジ日時 2023-09-20 17:52:04
合計ジャッジ時間 2,662 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,020 KB
testcase_01 AC 35 ms
6,016 KB
testcase_02 AC 12 ms
6,112 KB
testcase_03 AC 12 ms
6,024 KB
testcase_04 AC 11 ms
6,092 KB
testcase_05 AC 14 ms
6,172 KB
testcase_06 AC 11 ms
6,156 KB
testcase_07 AC 11 ms
6,016 KB
testcase_08 AC 12 ms
6,016 KB
testcase_09 AC 11 ms
6,096 KB
testcase_10 AC 11 ms
6,032 KB
testcase_11 AC 11 ms
6,060 KB
testcase_12 AC 11 ms
6,152 KB
testcase_13 AC 11 ms
6,020 KB
testcase_14 WA -
testcase_15 AC 12 ms
6,092 KB
testcase_16 AC 11 ms
6,176 KB
testcase_17 AC 12 ms
6,020 KB
testcase_18 AC 12 ms
6,152 KB
testcase_19 AC 11 ms
6,188 KB
testcase_20 AC 51 ms
6,016 KB
testcase_21 AC 12 ms
6,152 KB
testcase_22 AC 12 ms
6,208 KB
testcase_23 AC 12 ms
6,152 KB
testcase_24 AC 189 ms
6,020 KB
testcase_25 AC 12 ms
6,016 KB
testcase_26 AC 446 ms
6,012 KB
testcase_27 AC 12 ms
6,192 KB
testcase_28 AC 436 ms
6,020 KB
testcase_29 AC 11 ms
6,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

n = input()

for i in xrange(2, 100):
	if n % i == 0:
		for j in xrange(2,(int)(math.sqrt(n/i))):
			if (n/i) % j == 0:
				print "YES"
				exit()
print "NO"
0