Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155785 李昱龙 字符串包含判断 C++ Accepted 1 MS 276 KB 213 2026-06-13 14:56:02

Tests(10/10):


Code:

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