Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
59594 | zhangweiran | 奇偶数判断 | C++ | Accepted | 0 MS | 244 KB | 154 | 2024-12-27 15:54:12 |
#include<iostream> using namespace std; int main(){ int a; cin>>a; if(a/2==0){ cout<<"even"; }else{ cout<<"odd" ; } return 0; }