結果

問題 No.1113 二つの整数 / Two Integers
ユーザー 👑 H20H20
提出日時 2020-12-01 11:21:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 1,000 ms
コード長 435 bytes
コンパイル時間 428 ms
コンパイル使用メモリ 87,400 KB
実行使用メモリ 72,104 KB
最終ジャッジ日時 2023-10-11 03:27:03
合計ジャッジ時間 2,629 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,904 KB
testcase_01 AC 71 ms
71,276 KB
testcase_02 AC 72 ms
71,944 KB
testcase_03 AC 72 ms
71,948 KB
testcase_04 AC 70 ms
71,808 KB
testcase_05 AC 73 ms
71,972 KB
testcase_06 AC 72 ms
71,656 KB
testcase_07 AC 73 ms
71,276 KB
testcase_08 AC 71 ms
71,760 KB
testcase_09 AC 71 ms
71,616 KB
testcase_10 AC 72 ms
72,104 KB
testcase_11 AC 72 ms
71,596 KB
testcase_12 AC 73 ms
71,964 KB
testcase_13 AC 72 ms
72,036 KB
testcase_14 AC 70 ms
71,732 KB
testcase_15 AC 71 ms
71,716 KB
testcase_16 AC 71 ms
71,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

def make_divisors(n):
    lower_divisors , upper_divisors = [], []
    i = 1
    while i*i <= n:
        if n % i == 0:
            lower_divisors.append(i)
            if i != n // i:
                upper_divisors.append(n//i)
        i += 1
    return lower_divisors + upper_divisors[::-1]

A,B = map(int,input().split())
GC = math.gcd(A, B)
if GC > 1 and int(GC**0.5)**2 != GC:
    print('Even')
else:
    print('Odd')
0