結果

問題 No.1113 二つの整数 / Two Integers
ユーザー 👑 SPD_9X2
提出日時 2025-10-04 19:34:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 1,000 ms
コード長 276 bytes
コンパイル時間 395 ms
コンパイル使用メモリ 82,112 KB
実行使用メモリ 53,340 KB
最終ジャッジ日時 2025-10-04 19:34:24
合計ジャッジ時間 2,063 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

https://yukicoder.me/problems/no/1113

"""

import math

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

G = math.gcd(A,B)

L,R = 0,10**10

while R-L != 1:
    M = (L+R)//2
    if M**2 > G:
        R = M
    else:
        L = M

if L**2 == G:
    print ("Odd")
else:
    print ("Even")
0