Run ID:159678
提交时间:2026-09-06 14:19:10
#include<bits/stdc++.h> using namespace std; int main(){ string a,b; cin>>a>>b; int f=-1; f=a.find(b);//找到返回第一次出现的地址下标 if (f>=0) cout<<"yes"<<endl; else cout<<"no"<<endl; return 0; }