Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
110617 | 夏梓瑞 | 字符串包含判断 | C++ | Accepted | 1 MS | 280 KB | 493 | 2025-02-22 15:30:14 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min()\fabs() #include<ctime> #include<cstdlib> #include<cstring> using namespace std; int main(){ string a; getline(cin,a); string b; getline(cin,b); int c=0; c=a.find(b); if(c>0) cout<<"yes"; else cout<<"no"; return 0; }