Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100069 | 顾文博 | 08三个数排序 | C++ | Compile Error | 0 MS | 0 KB | 578 | 2024-12-01 15:26:48 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b && a<c){ cout<<c<<" "<<a<<" "<<b; } else if(a<b && a>c){ cout<<b<<" "<<a<<" "<<c; } else if(a>b && a>c){ if(b>c){ cout<<a<<" "<<b<<" "<<c; } else{ cout<<a<<" "<<c<<" "<<b; } }
Main.cc: In function 'int main()': Main.cc:23:5: error: expected '}' at end of input } ^