Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160777 李昱龙 字符串包含判断 C++ Accepted 1 MS 272 KB 211 2026-09-26 13:37:06

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; }