1 条题解
-
0
#include <iostream> using namespace std; int main() { double a,b,c; cin>>a>>b>>c; if (a<b&&b<c){cout<<a<<" "<<b<<" "<<c;} else if (a<c&&c<b){cout<<a<<" "<<c<<" "<<b;} else if (b<c&&c<a){cout<<b<<" "<<c<<" "<<a;} else if (b<a&&a<c){cout<<b<<" "<<a<<" "<<c;} else if (c<a&&a<b){cout<<c<<" "<<a<<" "<<b;} else{cout<<c<<" "<<b<<" "<<a;} return 0; }
- 1
信息
- ID
- 107
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 10
- 标签
- 递交数
- 6207
- 已通过
- 7
- 上传者