3 solutions
-
0
Guest MOD
Information
- ID
- 1343
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 4
- Tags
- (None)
- # Submissions
- 121
- Accepted
- 60
- Uploaded By
#include<bits/stdc++.h> using namespace std; int main(){ int a, b, c, max; cin >> a >> b >> c; if(a < b){ max = a; a = b; b = max; } if(a < c){ max = a; a = c; c = max; } if(b < c){ max = b; b = c; c = max; } cout << a << " " << b << " " << c << endl; return 0; }
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.