| 提出番号 | 136 |
|---|---|
| 提出者 | C3H5(ONO2)3 |
| 言語 | C++ |
| 提出日時 | 2017-06-25 11:36:27 |
| 問題名 | (1)Odd&Even |
| 結果 | AC |
| 点数 | 100% |
| テストケース | 結果 | 得点 | 実行時間 | メモリ使用量 |
|---|---|---|---|---|
| 1 | AC | 100% | 1ms | 7984KB |
| 2 | AC | 100% | 1ms | 8000KB |
| 3 | AC | 100% | 1ms | 8336KB |
#include<iostream>
#include<algorithm>
#include<cassert>
#include<vector>
#include<fstream>
#include<string>
using namespace std;
#define f(n) for(int i=0;i<n;++i)
int main() {
int x;
cin >> x;
if (x % 2 == 1) {
cout << "Odd" << endl;
}
else {
cout << "Even" << endl;
}
}