路过
by AK_lwh_888 @ 2024-08-15 08:34:13
+1
by loie @ 2024-08-19 20:00:23
[一毛一样哎!](https://www.luogu.com.cn/discuss/758532)(逃
by zzh222 @ 2024-08-22 23:07:37
```cpp
#include<bits/stdc++.h>
using namespace std;
int p1,p2,p3,i=0,k;
char ch[300],be,af,f,j,p;
int main() {
scanf("%d%d%d%s",&p1,&p2,&p3,ch);
while(ch[i]){
be=ch[i-1];af=ch[i+1];f=ch[i];
if(f=='-'&&af>be&&(be>='0'&&af<='9'||be>='a'&&af<='z')){
for(p3==1?j=be+1:j=af-1; p3==1?j<af:j>be; p3==1?j++:j--){
p=j
if(p1==2);
p=(p>='a')?p-32:p
else if(p1==3) p='*';
for(k=0; k<p2; k++)
printf("%c",p);
}
}
else
printf("%c",f);
i++;
}
return 0;
}
by dp28 @ 2024-08-24 13:40:42
@[dp28](/user/1223232)
by HU13505886772 @ 2024-08-25 13:05:30
你这不是tj吗
by HU13505886772 @ 2024-08-25 13:06:04