不是题解
2023-11-25 10:50:32
发布于:上海
8阅读
0回复
0点赞
#include<iostream>
#include<string>
std::string strA,strB,strC,str;int main(void){std::cin>>strA;std::cin>>//strB;std::cin>>strC;str = strA + strB;if(str.find(strC)!=-1){std::cout<<strC<<" is substring of "<<strA<<" and "<<strB;}else{std::cout<<strC<<" is not substring of "<<strA<<" and "<<strB;}}
这里空空如也
有帮助,赞一个