Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
60778 | wangwei | 奇偶数判断 | C++ | Accepted | 0 MS | 248 KB | 163 | 2025-02-14 11:43:40 |
#include<iostream> using namespace std; int main() { int n; cin>>n; if(n % 2 == 0) cout<<"even"; if(n % 2 == 1) cout<<"odd"; return 0; }