fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a, b;
  6. cin >> a >> b;
  7. if (a < b) {
  8. cout << a << " " << b;
  9. } else {
  10. cout << b << " " << a;
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
-1126362320 32767