Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109445 | 于铁林 | 08三个数排序 | C++ | Compile Error | 0 MS | 0 KB | 333 | 2025-02-09 09:16:29 |
#include<iostream> // cin\cout\endl using namespace std; int main(){ int a,b,c,x=0; cin>>a>>b>>c; if(a<b){ x=a a=b b=t } if(a<c){ x=a a=c c=t } if(b<c){ x=b b=c c=t } cout<<a<<b<<c<<endl return 0; }
Main.cc: In function 'int main()': Main.cc:8:9: error: expected ';' before 'a' a=b ^ Main.cc:13:9: error: expected ';' before 'a' a=c ^ Main.cc:18:9: error: expected ';' before 'b' b=c ^ Main.cc:22:5: error: expected ';' before 'return' return 0; ^