結果

問題 No.36 素数が嫌い!
ユーザー Mint
提出日時 2015-05-30 22:38:24
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2024-07-06 12:49:40
合計ジャッジ時間 17,329 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 13 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

n = input()

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