fork download
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  8.  
  9. long long a, b, c;
  10. cin >> a >> b >> c;
  11. if (a > b)
  12. swap(a, b);
  13. if (a > c)
  14. swap(a, c);
  15. if (b > c)
  16. swap(b, c);
  17. cout << a << ' ' << b << ' ' << c;
  18. }
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
94366116164096 94366116164336 140721991035088