Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
33720 | TheFirstGreen | 【USACO】奇偶判断 | C++ | 解答错误 | 0 MS | 252 KB | 178 | 2023-12-31 10:54:10 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; while(n--){ int x; cin>>x; if(x%2==0)cout<<"even\n"; else cout<<"odd\n"; } return 0; }