Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95213 | 张泊文 | 07比较大小 | C++ | Compile Error | 0 MS | 0 KB | 158 | 2024-10-27 10:13:59 |
#include<iostream> using namespace std; int main(){ int<<a,b; cin>>a>>b; if(a>b) cout<<a; else cout<<b; return 0; }
Main.cc: In function 'int main()': Main.cc:4:5: error: expected unqualified-id before '<<' token int<>a>>b; ^ Main.cc:5:13: error: 'b' was not declared in this scope cin>>a>>b; ^