Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
30346 | lmz120809 | 奇偶数判断 | C++ | Accepted | 0 MS | 244 KB | 160 | 2023-11-07 20:25:10 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n%2==0){ cout<<"even"; } else { cout<<"odd"; } return 0; }