結果

問題 No.1113 二つの整数 / Two Integers
ユーザー gin
提出日時 2020-07-17 21:26:16
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 190 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 24,520 KB
最終ジャッジ日時 2024-11-29 21:10:21
合計ジャッジ時間 27,171 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 2 TLE * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

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

gcd = math.gcd(A,B)

cnt = 1
for i in range(2,gcd+1):
    if gcd % i == 0:
        cnt += 1

if cnt % 2:
    print("Odd")
else:
    print("Even")
0