| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 66989 | 黄枳润 | 比较三个数大小II | C++ | Compile Error | 0 MS | 0 KB | 468 | 2024-03-12 19:38:10 |
#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a>b&&a>c){ if(b<c){ cout<<b<<c<<a; }else{ cout<<c<<b<<a; } if(b>a&&b>c){ if(a<c){ cout<<a<<c<<b; }else{ cout<<c<<a<<b; } if(c>a&&c>b){ if(a<b){ cout<<a<<b<<c; }else{ cout<<b<<a<<c; } return 0; }
Main.cc: In function 'int main()': Main.cc:26:1: error: expected '}' at end of input } ^ Main.cc:26:1: error: expected '}' at end of input Main.cc:26:1: error: expected '}' at end of input