参考:https://blog.csdn.net/raelum/article/details/128823560#include <iostream>#include <string>using namespace std;/*1、s[ ]是模式串,即比较长的字符串。2、p