题目描述如下:
B - A Reverse Editorial
/
Time Limit: 2 sec / Memory Limit: 1024 MB
Score : 200200 points
Problem Statement
You are given integers LL, RR, and a string SS consisting of lowercase English letters.
Print this string after reversing (the order of) the LL-th through RR-th characters.
Constraints
- SS consists of lowercase English letters.
- 1 \le |S| \le 10^51≤∣S∣≤105 (|S|∣S∣ is the length of SS.)
- LL and RR are integers.
- 1 \le L \le R \le |S|1≤L≤R≤∣S∣
Input
Input is g