Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89590 | 王煜鑫 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 178 | 2024-08-25 15:10:01 |
#include<iostream> using namespace std; int main(){ int a,b,; cin>>a>>b; if(a>b){ cout<<b<<' '<<a; } else{ cout<<a<<' '<<b; } }
Main.cc: In function 'int main()': Main.cc:4:13: error: expected unqualified-id before ';' token int a,b,; ^