| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144647 | 王峻熙 | 07判断正负数 | C++ | Compile Error | 0 MS | 0 KB | 194 | 2026-01-24 14:46:55 |
#include<iostream> using namespace std; int main(){ int x; cin>>x; a!=0; if(0<a){ cout<<"YES"<<endl; } else{ cout<<"NO"<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'a' was not declared in this scope
a!=0;
^
Main.cc:13:1: error: expected '}' at end of input
}
^