#include<stdio.h> #include<string.h> int main() { int n,m,l,r; char c1,c2; scanf("%d %d",&n,&m); char s[n]; scanf("%s",s); ...