Created
December 12, 2017 14:40
-
-
Save oskimura/b70aac58496192697e6202b011cd3e56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "iostream" | |
#include <cmath> | |
int main() | |
{ | |
int x, y; | |
while (std::cin >> x >> y) { | |
if (x < y) { | |
std::cout << x << " " << y << std::endl; | |
} | |
else { | |
std::cout << y << " " << x << std::endl; | |
} | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment