| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159678 | 邓弘锐 | 字符串包含判断 | C++ | Accepted | 1 MS | 276 KB | 238 | 2026-09-06 14:19:10 |
#include<bits/stdc++.h> using namespace std; int main(){ string a,b; cin>>a>>b; int f=-1; f=a.find(b);//找到返回第一次出现的地址下标 if (f>=0) cout<<"yes"<<endl; else cout<<"no"<<endl; return 0; }