#P1439. 练69.2 单词倒排

    ID: 440 传统题 1000ms 64MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>http://bas.ssoier.cn:8086/problem_show.php?pid=3402字符数组与字符串

练69.2 单词倒排

Description

编写程序,读入一行英文(只包含字母和空格,单词间以单个空格分隔),将所有单词的顺序倒排并输出,依然以单个空格分隔。

Input Format

输入为一个字符串(字符串长度至多为 $100$)。

Output Format

输出为按要求排序后的字符串。
I am a student
student a am I

Source

http://bas.ssoier.cn:8086/problem_show.php?pid=3402 字符数组与字符串