题解 1320: 字符串展开

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

筛选

1320: 字符串展开

摘要:解题思路:注意事项:只有一个小错误,91分参考代码:l = list(input().strip().split())if len(l) == 4:    p1 = int(l[0])    p2 =……

NOIP提高组2007

摘要:参考代码:#include<stdio.h> char s[150]; int p1, p2, p3; char c; char now, left, right; int main()  ……

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,

qtnu培训练习

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