Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
51582 | zhangsicun | 奇偶数判断 | C++ | 编译错误 | 0 MS | 0 KB | 185 | 2024-09-22 21:20:56 |
#include<bits/stdc++.h> using namespace std; int main() { int h; cin >>ch; if(h%2==1){ cout<<"odd"; }else{ cout<<"even"; } return 0; }