CodeForces - 558E A Simple Task (计数排序 线段树)
This task is very simple. Given a string S of length n and q queries each query is on the format i j k which means sort the substring consisting of the characters from i to j in non-decreasing order i...