結果

問題 No.1113 二つの整数 / Two Integers
ユーザー syunsukesyunsuke
提出日時 2020-09-13 18:03:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 335 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 71,612 KB
最終ジャッジ日時 2023-09-03 23:47:59
合計ジャッジ時間 3,059 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,368 KB
testcase_01 AC 73 ms
71,136 KB
testcase_02 AC 71 ms
71,240 KB
testcase_03 AC 77 ms
71,572 KB
testcase_04 WA -
testcase_05 AC 75 ms
71,284 KB
testcase_06 AC 73 ms
71,444 KB
testcase_07 AC 73 ms
71,320 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 73 ms
71,444 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 74 ms
71,368 KB
testcase_15 AC 72 ms
71,368 KB
testcase_16 AC 71 ms
71,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())

if B>A:
    A,B=B,A

while A%B!=0:
    A,B=B,A%B

if B==1:
    print("Odd")
else:
    print("Even")
0