| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 135439 | zxy | 07判断奇数 | C++ | Compile Error | 0 MS | 0 KB | 143 | 2025-11-03 17:20:31 |
using namespace std; int main(){ int a; cin >>a; if(a%2==0) cout<<"No"; if(a%2==1) cout<<"Yes"; }
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
cin >>a;
^
Main.cc:7:8: error: 'cout' was not declared in this scope
cout<<"No";
^
Main.cc:10:8: error: 'cout' was not declared in this scope
cout<<"Yes";
^