結果

問題 No.442 和と積
コンテスト
ユーザー bellangeldindon
提出日時 2019-05-17 14:53:11
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 83 ms / 1,000 ms
コード長 142 bytes
記録
コンパイル時間 159 ms
コンパイル使用メモリ 77,276 KB
最終ジャッジ日時 2025-12-04 01:48:27
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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