#include <iostream> #include <cstring> using namespace std; bool cmp(char* i, char* j, int len) { for (int a = 0; a < len-1; a++) { if (*(i + a) != *(j + a)) return false; } return true; } int substrrrr(char* p, char* s, int sublen) {//p 子串 int num = 0 ; ...