">int main() { int n, m, l, r; char s[1000] = {0}, c1, c2; scanf("%d %d\n%s", &n, &m, &s); for (int i = 0; i < m; i++) { //根据m值进行循环 scanf("%d %d %c %c\n", &l, &r, &c1, &c2); for (int j = l; j <= r; j++) { //根据每次输入的l,r值进行循环 ...