結果

問題 No.1113 二つの整数 / Two Integers
ユーザー mlihua09mlihua09
提出日時 2020-09-13 02:50:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 141 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 87,360 KB
実行使用メモリ 72,192 KB
最終ジャッジ日時 2023-08-30 20:11:32
合計ジャッジ時間 2,818 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
72,136 KB
testcase_01 AC 70 ms
71,404 KB
testcase_02 AC 69 ms
71,936 KB
testcase_03 AC 70 ms
72,192 KB
testcase_04 AC 71 ms
71,716 KB
testcase_05 AC 70 ms
71,648 KB
testcase_06 AC 71 ms
71,332 KB
testcase_07 AC 69 ms
71,660 KB
testcase_08 AC 70 ms
71,628 KB
testcase_09 AC 69 ms
71,720 KB
testcase_10 AC 70 ms
71,928 KB
testcase_11 AC 70 ms
71,636 KB
testcase_12 AC 69 ms
71,724 KB
testcase_13 AC 70 ms
71,952 KB
testcase_14 AC 70 ms
71,724 KB
testcase_15 AC 69 ms
71,840 KB
testcase_16 AC 69 ms
71,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


from math import gcd

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

g = gcd(a, b)

if int(g ** 0.5) ** 2 == g:
    print('Odd')
else:
    print('Even')
0