#include <stdio.h>
#include <string.h>
//字符串匹配
int StringMatch(char *TStr,char *MStr)
{
char t[100000];
int i = 0,j,k = 0,l,flag = 0;
while(TStr[i] != '\0')
{
j = 0;
l = i;
while(TStr[l] == MStr[j]) l++,j++;
if(MStr[j] == '\0') //匹配
flag =1,i = l;
e...