6 条题解
-
1
#include <iostream> #include<cmath> using namespace std;
int main() { int a,b,c,d,e,f; cin>>a>>b>>c; d = max(a,b); e = max(b,c); f = max(a,c); if (da and fa){if (eb){cout<<d<<" "<<e<<" "<<c;}else {cout<<a<<" "<<c<<" "<<b;}}else if(db and eb){if (f == a){cout<<b<<" "<<a<<" "<<c;}else {cout<<b<<" "<<c<<" "<<a;}}else if(ec and f==c){if (d == a){cout<<c<<" "<<a<<" "<<b;}else {cout<<c<<" "<<b<<" "<<a;}} return 0; }
- 1
信息
- ID
- 25
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 5
- 标签
- 递交数
- 1419
- 已通过
- 502
- 上传者