codeforces all educational rounds code example
Example: codeforces all educational rounds
s = s.substr(0, l)
+ s.substr(r - k + 1, k) + s.substr(l, r - l + 1 - k)
+ s.substr(r + 1);
s = s.substr(0, l)
+ s.substr(r - k + 1, k) + s.substr(l, r - l + 1 - k)
+ s.substr(r + 1);