結果
| 問題 | 
                            No.1113 二つの整数 / Two Integers
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-07-17 23:18:26 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 351 bytes | 
| コンパイル時間 | 141 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 21,376 KB | 
| 最終ジャッジ日時 | 2024-11-30 03:01:35 | 
| 合計ジャッジ時間 | 26,954 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 2 TLE * 13 | 
ソースコード
A,B = map(int, input().split())
def divisors(n):
    ans = []
    i = 2
    while i * i <= n:
        if n % i == 0:
            ans.append(i)
            if i != n // i:
                ans.append(n // i)
        i += 1
    return ans
ans = 1
for i in divisors(min(A,B)):
    if B % i == 0:
        ans += 1
print('Even' if ans % 2 == 0 else 'Odd')