Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- string s, t;
- while (cin >>s>>t) {
- if (s<t) cout <<s<<' '<<t<<endl;
- else cout <<t<<' '<<s<<endl;
- }
- }
- //By Patata
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement