Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
51584 | 张思存 | 奇偶数判断 | C++ | Accepted | 0 MS | 248 KB | 185 | 2024-09-22 21:23:09 |
#include<bits/stdc++.h> using namespace std; int main() { int h; cin >> h; if(h%2==1){ cout<<"odd"; }else{ cout<<"even"; } return 0; }