Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107465 | 胡海峰老师 | 07判断奇数 | C++ | Accepted | 1 MS | 268 KB | 223 | 2025-01-17 23:28:04 |
#include <iostream> using namespace std; int main () { int a; cin>>a; if(a%2==1) // is this number odd 奇数 cout<<"Yes"; else //this number is even偶数 cout<<"No"; return 0; }