Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
33004 | teacher_lu | 奇偶数判断 | C++ | Accepted | 0 MS | 252 KB | 162 | 2023-12-04 19:04:28 |
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if(x % 2 == 0) cout << "even"; else cout << "odd"; return 0; }