| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 | 
|---|---|---|---|---|---|---|---|---|
| 135298 | 杨浩宇 | 07判断奇数 | C++ | Compile Error | 0 MS | 0 KB | 147 | 2025-11-03 16:51:56 | 
using namespace std; int main(){ int a,n; cin>>a; n=a/2; a=a-2*n; if(a==0){ cout<<"YES"; } if(a==1){ cout<<"NO"; } }
Main.cc: In function 'int main()':
Main.cc:4:2: error: 'cin' was not declared in this scope
  cin>>a;
  ^
Main.cc:8:6: error: 'cout' was not declared in this scope
      cout<<"YES";
      ^
Main.cc:11:6: error: 'cout' was not declared in this scope
      cout<<"NO";
      ^