| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82838 | 石茂诤 | 字符串包含判断 | C++ | Accepted | 1 MS | 272 KB | 210 | 2024-07-13 15:56:38 |
#include<bits/stdc++.h> using namespace std; string b; string a; int main(){ int idx=0; cin>>a; cin>>b; idx=a.find(b); if(idx==-1){ cout<<"no"; } else{ cout<<"yes"; } return 0; }