WA!求助!
查看原帖
WA!求助!
1398154
xu_bo_yan楼主2024/8/26 17:02
#include<bits/stdc++.h>
using namespace std;
string s1,s2;
int main(){
	cin>>s1>>s2;
	if(s1.find(s2)==-1){
		cout<<s1<<" is substring of "<<s2<<endl;
	}else{
		cout<<"No substring"<<endl;
	}
	return 0;
}
2024/8/26 17:02
加载中...