医托贷马
2024-03-31 16:43:14
发布于:广东
1阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main()
{
string a,b,c,d;
cin>>a>>b>>c;
d=a+b;
if(d.find(c)!=-1) cout<<c<<" is substring of "<<a<<" and "<<b;
else cout<<c<<" is not substring of "<<a<<" and "<<b;
}
这里空空如也
有帮助,赞一个