結果

問題 No.1113 二つの整数 / Two Integers
ユーザー rei60rei60
提出日時 2020-08-22 16:33:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 231 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 82,712 KB
実行使用メモリ 53,856 KB
最終ジャッジ日時 2024-04-23 10:35:58
合計ジャッジ時間 1,584 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,184 KB
testcase_01 AC 39 ms
52,732 KB
testcase_02 AC 40 ms
52,808 KB
testcase_03 AC 39 ms
52,596 KB
testcase_04 AC 40 ms
52,796 KB
testcase_05 AC 37 ms
53,020 KB
testcase_06 AC 37 ms
53,284 KB
testcase_07 AC 39 ms
53,692 KB
testcase_08 AC 38 ms
52,932 KB
testcase_09 AC 38 ms
52,788 KB
testcase_10 AC 38 ms
53,212 KB
testcase_11 AC 38 ms
52,132 KB
testcase_12 AC 38 ms
52,440 KB
testcase_13 AC 38 ms
52,932 KB
testcase_14 AC 38 ms
52,480 KB
testcase_15 AC 38 ms
53,856 KB
testcase_16 AC 37 ms
53,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

def gcd(a,b):
    while b != 0:
        r = a % b
        a = b
        b = r
    return a   

temp = gcd(A,B)

if int(temp**0.5+0.000000000001)**2 == temp :
    print("Odd")
else:
    print("Even")
0