結果

提出番号 2443
提出者 keko33
言語 C++
提出日時 2023-05-13 16:57:21
問題名 (1)Odd&Even
結果 AC
点数 100%

テストケース

テストケース 結果 得点 実行時間 メモリ使用量
1 AC 100% 2ms 8480KB
2 AC 100% 3ms 7776KB
3 AC 100% 2ms 8224KB

ソースコード

#include <bits/stdc++.h>

using namespace std;

using ll = long long;
using ld = long double;

#define rep(i, h) for(int i = 0; i < (h); ++i)
#define reps(i, s, h) for(int i = (s); i < (h); ++i)
#define rrep(i, s, h) for(int i = (s); i >= (h); --i)
#define vi vector<int>
#define vl vector<ll>
#define pl pair<ll, ll>
#define all(v) (v).begin(), (v).end()

template <class T> void chmin(T &v, T b) {
    if(v > b)
        v = b;
}
template <class T> void chmax(T &v, T b) {
    if(v < b)
        v = b;
}

const ll inf = LONG_LONG_MAX / 2;
const int mod = 1e9 + 7;
const int MAX = 1e6 + 5;

int main() {

    ll n;
    cin >> n;

    if(n % 2 == 0)
        cout << "Even" << endl;
    else
        cout << "Odd" << endl;

    return 0;
}