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