Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
31498 闻航 奇偶数判断 C++ Accepted 0 MS 244 KB 161 2023-11-19 13:30:17

Tests(1/1):


#include<iostream> using namespace std; int main() { int n; cin>>n; if(n%2==1){ cout<<"odd"; }else{ cout<<"even"; } return 0; }


Judgement Protocol: