Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119672 | 李昊宇 | 字符串包含判断 | C++ | Wrong Answer | 1 MS | 276 KB | 190 | 2025-05-18 13:34:41 |
#include<bits/stdc++.h> using namespace std; int main(){ int t=-1; string a,b; cin>>a>>b; if(a.find(b)){ cout<<"yes"<<endl; } else{ cout<<"no"<<endl; } return 0; }
------Input------
fdcdgtofze dgtf
------Answer-----
no
------Your output-----
yes