Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95222 | 张泊文 | 07判断正负数 | C++ | Compile Error | 0 MS | 0 KB | 160 | 2024-10-27 10:16:36 |
#include<iostream> using namespace std; int main(){ int<<a; cin>>a; if(a>0) cout<<"YES"; else cout<<"NO"; return 0; }
Main.cc: In function 'int main()': Main.cc:4:5: error: expected unqualified-id before '<<' token int<>a; ^