結果

提出番号 347
提出者 TakemotoN
言語 C++
提出日時 2017-07-15 15:04:38
問題名 (1)Odd&Even
結果 AC
点数 100%

テストケース

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

ソースコード

#include "iostream"
#include "string"
using namespace std;
int main() {
	int x;
	cin >> x;
	if (x%2 == 0) {
			cout << "Even" << endl;
		}
	if (x%2 == 1) {
		cout << "Odd" << endl;
	}
}