結果

問題 No.1113 二つの整数 / Two Integers
ユーザー _matumo__matumo_
提出日時 2020-07-25 11:42:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 195 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,956 KB
最終ジャッジ日時 2024-06-27 01:21:38
合計ジャッジ時間 4,615 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other TLE * 2 -- * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

def gcd(a,b):
    while b>0:  a,b=b,a%b
    return a
A,B=map(int,input().split())
N=gcd(A,B)
p=[1]+[i for i in range(2,int(N**0.5)+1) if N%i<1]
n=len(p)*2-(p[-1]**2==N)
print(["Even","Odd"][n&1])
0