結果

問題 No.442 和と積
ユーザー ああいい
提出日時 2022-01-28 13:51:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 386 ms
コンパイル使用メモリ 82,492 KB
実行使用メモリ 53,816 KB
最終ジャッジ日時 2024-12-29 09:10:27
合計ジャッジ時間 2,075 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int,input().split())

def gcd(x,y):
    while True:
        r = x % y
        x = y
        y = r
        if r == 0:
            return x
print(gcd(a,b))
0