练习专区

今天的一小步就是明天的一大步
Problem 1070 比较字符
Accepted: 9   Total Submit: 19
Time Limit: 1000ms   Memory Limit: 30720KB
Description
大家都知道单词在字典中的排序。现在给你两个单词,请你按字典的顺序输出它们。
Input
输入有若干行,每行两个单词。
Output
每行按字典序输出它们。
Sample Input
you me
red green
ohh yes
ab aa
Sample Output
me you
green red
ohh yes
aa ab
Hint
提交     返回