結果

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

ソースコード

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 (n/i) % j == 0:
				print "YES"
				exit()
print "NO"
0