文章
72
粉丝
142
获赞
5
访问
57.6k
#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
using namespace std;
int number[105] = { 0 };
int main() {
string str, a, b;
while (getline(cin,str)&&cin>>a>>b) {
int m = a.length();
int n = b.length();
for (int i = 0; i < str.size();i++) {
int flag = 1;
for (int j = 0; j < m; j++) {
if (a[j] != str[i + j]) {
flag = 0;
}
}
&...
登录后发布评论
暂无评论,来抢沙发