22232_WordReversa

2022-5-16 18:21| 发布者: Hocassian| 查看: 30| 评论: 0|原作者: 肇庆学院ACM合集

摘要:
C:\Users\Administrator\Downloads\2019-10-12-10-14-5-89506219480899-Problem List-采集的数据-后羿采集器.html

Pro.ID

22232

Title

Word Reversal

Title链接

http://10.20.2.8/oj/exercise/problem?problem_id=22232

AC

5

Submit

8

Ratio

62.50%

时间&空间限制

  • Time Limit: 1000/500 MS (Java/Others)     Memory Limit: 65536/65536 K (Java/Others)
  • 描述

    For each list of words, output a line with each word reversed without changing the order of the words.

    输入

    You will be given a number of test cases. The first line contains a positive integer indicating the number of cases to follow. Each case is given on a line containing a list of words separated by one space, and each word contains only uppercase and lowercase letters.

    输出

    Description

    For each list of words, output a line with each word reversed without changing the order of the words.

    Input

    You will be given a number of test cases. The first line contains a positive integer indicating the number of cases to follow. Each case is given on a line containing a list of words separated by one space, and each word contains only uppercase and lowercase letters.

    Output

    For each test case, print the output on one line.

    Sample Input

    3
    I am happy today
    To be or not to be
    I want to win the practice contest

    Sample Output

    I ma yppah yadot
    oT eb ro ton ot eb
    I tnaw ot niw eht ecitcarp tsetnoc

    Source

    样例输入

    3
    I am happy today
    To be or not to be
    I want to win the practice contest

    样例输出

    I ma yppah yadot
    oT eb ro ton ot eb
    I tnaw ot niw eht ecitcarp tsetnoc

    作者


    路过

    雷人

    握手

    鲜花

    鸡蛋

    最新评论

    返回顶部