PTA 7-29删除字符串中的子串 笔记
#include <stdio.h>#include <string.h>#define MAXN 81int main(void){ char s1[MAXN], s2[MAXN]; fgets(s1, MAXN, stdin); fgets(s2, MAXN, stdin); int i = 0, j = 0; int s1Len = strlen(s1),s2Len = strlen(s2); while (i <.
原创
2021-04-02 15:57:23 ·
101 阅读 ·
0 评论