結果
| 問題 | 
                            No.1113 二つの整数 / Two Integers
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-07-22 22:23:50 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 244 bytes | 
| コンパイル時間 | 2,032 ms | 
| コンパイル使用メモリ | 192,688 KB | 
| 最終ジャッジ日時 | 2025-01-12 03:10:30 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 15 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)
typedef long long ll;
int main(){
	ll a,b; cin>>a>>b;
	ll n=gcd(a,b);
	double g=sqrt(n);
	if(n==1||(ll)g==g) cout<<"Odd"<<endl;
	else cout<<"Even"<<endl;
}