Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3476 | 邓程允 | 字符串包含判断 | C++ | Wrong Answer | 0 MS | 264 KB | 208 | 2024-06-08 17:29:32 |
# include<iostream> # include<string.h> using namespace std; int main(){ string a,b; int k=a.find(b); cin>>a>>b; if(k<a.size()&&k>=0)cout<<"yes"; else cout<<"no"; return 0; }
------Input------
fdcdgtofze dgtf
------Answer-----
no
------Your output-----
yes