結果

問題 No.1113 二つの整数 / Two Integers
ユーザー brthyyjp
提出日時 2020-07-17 21:26:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 1,000 ms
コード長 234 bytes
コンパイル時間 531 ms
コンパイル使用メモリ 81,900 KB
実行使用メモリ 53,920 KB
最終ジャッジ日時 2024-11-30 06:27:32
合計ジャッジ時間 1,522 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int, input().split())
import math
g = math.gcd(a, b)

def try_square_root_naive(n):
    m = int(n**.5)
    return True if abs(m*m - n) < 1e-6 else False

if try_square_root_naive(g):
    print('Odd')
else:
    print('Even')
0