Run ID:135916
提交时间:2025-11-08 17:21:36
#include<bits/stdc++.h> using namespace std; int main(){ string s1,s2; cin>>s1>>s2; int a = -1; a = s1.find(s2); //返回第一次出现的位置,没有返回-1 if(a !=-1) cout<<"yes"; else cout<<"no"; return 0; }