#include <cstring> #include <iostream> using namespace std; int main() { int count=0,min=0; char a[130]={'\0'},b[130]={'\0'}; int N; cin>>N; cin.get(); cin.getline(a,130,'\n'); int len=strlen(a); int flaghui=0,flagstep=0;// //处理字符串使对应数据连续 fo...