結果

問題 No.8029 素因数
ユーザー kmjp
提出日時 2017-03-31 23:42:28
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 240 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-07 06:23:09
合計ジャッジ時間 1,682 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 10 RE * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

A=1309020564363155364990198847863210152708042104341971929
M=input()
while M%2==0:
	M/=2

S=set([3,5,7,11,13,17,19,23,29,31,37])

#for s in S:
#	print s,M%s
	

if M in S:
	if A%M%2==0:
		print "even"
	else:
		print "odd"
else:
	assert 0



0