Reverse String Character Output


Submit solution

Points: 45 (partial)
Time limit: 1.0s
Memory limit: 64M

Authors:
Problem type

題目說明

請撰寫一個程式,要求使用者輸入一個字串,程式會將該字串的每個字元反向順序輸出於同一行,每個字元之間不加空格。

輸入

一行字串,包含大小寫字母、數字、空格及符號。

輸出

將字串中每個字元反向順序輸出於同一行。

範例輸入 #1

Hello

範例輸出 #1

olleH

範例輸入 #2

123!

範例輸出 #2

!321

Comments

There are no comments at the moment.