結果

問題 No.442 和と積
ユーザー bellangeldindon
提出日時 2019-05-17 14:53:11
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 1,000 ms
コード長 142 bytes
コンパイル時間 591 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-07-04 23:19:30
合計ジャッジ時間 965 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

def euc(x, y):
	if y == 0L: return x
	return euc(y, x%y)
A, B = map(int, raw_input().split())
a = long(A)
b = long(B)
print int(euc(a+b, a*b))
0