****dalao求救****#
```cpp
#include<iostream>
#include<cstring>
#include<cstdio>
using namespace std;
int main(){
char yi[1010],hou[1000];
int p[4],som,temp;
cin>>p[1]>>p[2]>>p[3];
scanf("%s",yi);
for(int i=0;i<strlen(yi);i++){
char zanshi[100];
int us=0,flag=0;
if(yi[i]=='-'){
if(yi[i-1]==yi[i+1]) break;
if(isdigit(yi[i-1])!=isdigit(yi[i+1])) break;
for(int j=yi[i-1]+1;j<yi[i+1];j++)
for(int k=1;k<=p[2];k++){
zanshi[us++]=j;
flag=1;
}
if(flag==0) break;
if(p[1]==1) for(int j=0;j<us;j++) zanshi[j]=tolower(zanshi[j]);
else if(p[1]==2) for(int j=0;j<us;j++) zanshi[j]=toupper(zanshi[j]);
else for(int j=0;j<us;j++) zanshi[i]='*';
if(p[3]==2) for(int j=0;j<us;j++){
temp=zanshi[j];
zanshi[j]=zanshi[us-j];
zanshi[us-j]=temp;
}
//puts(zanshi);
//cout<<us;
som=strlen(yi)-1;
for(int j=som;j>=i;j--){
yi[j+us-1]=yi[j];
}
for(int j=i,k=0;k<us;j++,k++){
yi[j]=zanshi[k];
}
}}
puts(yi);
return 0;
}
```
by Neils_Lin @ 2018-07-20 11:04:07
@[ilem](/space/show?uid=57821) 小学生?引战?
by _FILARET_ @ 2018-07-20 11:04:25
大哥nb
by qb_1TU_VE1_dp @ 2018-07-20 11:04:55
@[deadpool123](/space/show?uid=84121)
by qb_1TU_VE1_dp @ 2018-07-20 11:05:29
@[deadpool123](/space/show?uid=84121) 喂你吃屁
by ilem @ 2018-07-20 11:05:46
已屏蔽
by _FILARET_ @ 2018-07-20 11:06:28
@[deadpool123](/space/show?uid=84121) 屏蔽了还bb个屁
by ilem @ 2018-07-20 11:07:38
小学生
by scy_ys1614 @ 2018-07-20 11:07:40
@[deadpool123](/space/show?uid=84121) 屏蔽你还看
by qb_1TU_VE1_dp @ 2018-07-20 11:07:46
@[deadpool123](/space/show?uid=84121) 吔屎了你
by ilem @ 2018-07-20 11:08:47