Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109449 | 于铁林 | 08三个数排序 | C++ | Compile Error | 0 MS | 0 KB | 347 | 2025-02-09 09:22:48 |
#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:21:30: error: unable to find string literal operator 'operator""endl' with 'const char [2]', 'long unsigned int' arguments cout<