419 传统题

[ABC233B] 区间反转 (A Reverse)

时间限制
2000ms
内存限制
1024MiB
登顶 / 尝试
0/ 0
难度
1

[ABC233B] 区间反转 (A Reverse)

Score : 200 points Problem Statement You are given integers L, R, and a string S consisting of lowercase English letters. Print this string after reversing (the order of) the L-th through R-th characters. Constraints S consists of lowercase English letters. 1 \le |S| \le 10^5 (|S| is the length of S.) L and R are integers. 1 \le L \le R \le |S| Input Input is given from Standard Input in the following format: L R S Output Print the specified string.