Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135652 田子熙 字符串包含判断 C++ Accepted 1 MS 280 KB 186 2025-11-08 10:34:11

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ string a,a1; cin>>a>>a1; int b=0; b=a.find(a1); if(b!=-1){ cout<<"yes"; }else{ cout<<"no"; } return 0; }