結果

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

ソースコード

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