結果
問題 |
No.1113 二つの整数 / Two Integers
|
ユーザー |
|
提出日時 | 2020-07-22 22:18:09 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 246 bytes |
コンパイル時間 | 2,624 ms |
コンパイル使用メモリ | 192,052 KB |
最終ジャッジ日時 | 2025-01-12 03:08:01 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 8 WA * 7 |
ソースコード
#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); ll g=sqrt(n)*100; if(n==1||g/100%1==0) cout<<"Odd"<<endl; else cout<<"Even"<<endl; }