#OJ1092. 字符串的逆序
字符串的逆序
字符串的逆序
Time Limit: 1 Sec Memory Limit: 2 MB
Description
将输入的一个字符串s逆序输出。
Input
输入为一个串s。输入最少为一个字符,最多不会超过100个字符。输入不含各种空白符('\t'、'\n'、'\r'、' ')。
Output
串s的逆序。
Sample Input
abcde
Sample Output
edcba
HINT
输入可以用scanf("%s")处理。
Time Limit: 1 Sec Memory Limit: 2 MB
将输入的一个字符串s逆序输出。
输入为一个串s。输入最少为一个字符,最多不会超过100个字符。输入不含各种空白符('\t'、'\n'、'\r'、' ')。
串s的逆序。
abcde
edcba
输入可以用scanf("%s")处理。