#3579. A Reverse
0
A Reverse
A Reverse
题目描述
You are given integers , , and a string consisting of lowercase English letters.
Print this string after reversing (the order of) the -th through -th characters.
输入格式
Input is given from Standard Input in the following format:
输出格式
Print the specified string.
3 7
abcdefgh
abgfedch
1 7
reviver
reviver
4 13
merrychristmas
meramtsirhcyrs
提示
consists of lowercase English letters.
( is the length of .)
and are integers.
After reversing the -rd through -th characters of , we have .
The operation may result in the same string as the original.
标签: AtCoder|abc233B
来源
AtCoder|abc233B