'commit'
This commit is contained in:
14
TangDou/XiTi/1216.cpp
Normal file
14
TangDou/XiTi/1216.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int x, y, z;
|
||||
cin >> x >> y >> z;
|
||||
|
||||
if (min(x, y) == y) swap(x, y);
|
||||
if (min(x, z) == z) swap(x, z);
|
||||
if (min(y, z) == z)swap(y, z);
|
||||
cout << x << " " << y << " " << z << " " << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user