题解 1320: 字符串展开

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

qtnu培训练习

解题思路:分析p1、p2、p3代表的意思。利用tolower()于toupper()函数代码中出现了insert()增加字符erase()删除字符,已及sb测试样例1;p1_other()代表数字填充p1_fun1代表填充小写p1_fun2代表填充大写p1_fun2代表填充‘*’p_sum为输出s(目

1320: 字符串展开

```cpp#include#includeusingnamespacestd;intp1,p2,p3,sub_s,ji=1;strings,s1,s_j;boolf=false;voidp1_otther(){charr=s[sub_s+1]-1,