| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144694 | 8 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 435 | 2026-01-24 15:40:25 |
#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){ (b>c) cout<<a<<endl; } if(a>c){ (c>b) cout<<a<<endl; } if(b>a){ (a>c) cout<<b<<endl; } if(b>c){ (c>a) cout<<b<<endl; } if(c>a){ (a>b) cout<<c<<endl; } if(c>b){ (b>a) cout<<c<<endl; } return 0; }
Main.cc: In function 'int main()':
Main.cc:8:6: error: expected ';' before 'cout'
cout<