| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77300 | 刘焕群 | 字符串包含判断 | C++ | Accepted | 0 MS | 272 KB | 278 | 2024-06-08 17:27:05 |
#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)<s.size()){ cout<<"yes"; }else{ cout<<"no"; } return 0; }