Problems Description
读入一items字符串,按单词将该字符串逆序,比如给定"This is a sentence",则输出是"sentence a is This",为了简化问题,字符串中不包含标点符号。
Input格式
Output格式
Sample
Sample Input 1
This is a sentence
Sample Output 1
sentence a is This
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪