結果

問題 No.1113 二つの整数 / Two Integers
ユーザー xuanjixuanji
提出日時 2020-07-17 21:28:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 1,000 ms
コード長 178 bytes
コンパイル時間 560 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 71,552 KB
最終ジャッジ日時 2023-08-20 06:04:05
合計ジャッジ時間 2,688 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,448 KB
testcase_01 AC 70 ms
71,256 KB
testcase_02 AC 71 ms
71,224 KB
testcase_03 AC 68 ms
71,032 KB
testcase_04 AC 69 ms
71,036 KB
testcase_05 AC 69 ms
71,344 KB
testcase_06 AC 69 ms
71,552 KB
testcase_07 AC 71 ms
71,340 KB
testcase_08 AC 70 ms
71,392 KB
testcase_09 AC 70 ms
71,348 KB
testcase_10 AC 70 ms
71,260 KB
testcase_11 AC 72 ms
71,404 KB
testcase_12 AC 70 ms
71,244 KB
testcase_13 AC 72 ms
71,252 KB
testcase_14 AC 71 ms
71,020 KB
testcase_15 AC 71 ms
71,336 KB
testcase_16 AC 71 ms
71,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env pypy3

from math import gcd,sqrt

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

g = gcd(a, b)

if int(sqrt(g))**2 == g:
    print("Odd")
else:
    print("Even")
0