結果

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

ソースコード

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