| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77298 | LJY | 字符串包含判断 | C++ | Wrong Answer | 0 MS | 272 KB | 272 | 2024-06-08 17:22:42 |
#include<stdio.h> #include<cstring> #include<algorithm> #include<iostream> using namespace std; int main(){ string s; string m; getline(cin,s); getline(cin,m); if(s.find(m)==m.size()){ cout<<"no"; }else{ cout<<"yes"; } return 0; }
------Input------
fdcdgtofze dgtf
------Answer-----
no
------Your output-----
yes