【样例输入】

hello world c language programming computer science

【样例输出】

c language computer science hello world programming

【样例说明】

按字典序排序后,输出结果为:c language、computer science、hello world、programming。

c语言程序设计 按字典序排列文本【问题描述】对分行输入的若干字符串按字典序由小到大进行排序并输出。【输入形式】控制台输入多行字符串各个字符串可能含有空格。【输出形式】输出按字典序由小到大进行排序后的字符串。