mitkonikov

Vasilaki

Mar 12th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int a[3];
  8.     cin >> a[0] >> a[1] >> a[2];
  9.  
  10.     sort(a, a+3);
  11.  
  12.     cout << a[0] << " " << a[1] << " " <<  a[2] << endl;
  13.  
  14.     return 0;
  15. }
Add Comment
Please, Sign In to add comment