Reverse Text
Time Limit: 2 Seconds
Memory Limit: 65536 KB
In most languages, text is written from left to right. However, there are other languages where text is read and written from right to left. As a first step towards a program that automatically translates from a left-to-right language into a right-to-left
language and back, you are to write a program that changes the direction of a given text.
Input Specification
The input contains several test cases. The first line conta......
阅读全文