Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
14137 | c292user4 | [USACO09OCT]Even? Odd? G | C++ | 解答错误 | 83 | 1 MS | 696 KB | 241 | 2021-07-10 18:44:07 |
#include <iostream> using namespace std; int main () { int n, j; cin >> n; for (int i=1; i<=n; i++) { cin >> j; if (j%2==0) { cout << "even" << endl; } else { cout << "odd" <<endl; } } return 0; }