結果

問題 No.1113 二つの整数 / Two Integers
ユーザー kaerufrogeko
提出日時 2020-07-17 22:37:32
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 518 bytes
コンパイル時間 1,854 ms
コンパイル使用メモリ 185,512 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-30 01:31:23
合計ジャッジ時間 2,405 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

//debug
#define _GLIBCXX_DEBUG
//include
#include <bits/stdc++.h>
//using
using namespace std;
using ll = long long;
//define
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define inf 1e9
//function
void solve()
{
    ll a, b;
    cin >> a >> b;
    if (a < b)
        swap(a, b);
    ll r = a % b;
    if (r % 2 == 0)
    {
        cout << "Even" << endl;
    }
    else
    {
        cout << "Odd" << endl;
    }
    return;
}
//main
int main()
{
    solve();
    return 0;
}
0