题解 2861: 验证子串

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

2861: 验证子串

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#define maxn 205char cmp(char……

解 2861: 验证子串

摘要:解题思路:注意事项:参考代码:a = input().strip()b = input().strip()if a.find(b) != -1:    print(f"{b} is substring……

题解 2861: 验证子串

摘要:```cpp #include using namespace std; typedef long long ll; int main() { string s,a; ……

题解 2861: 验证子串

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){string s,s1;cin>>s>>s1;if(s1.f……

2861: 验证子串

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef  long long ll;const ll N=1e7;char……

2861: 验证子串

摘要:解题思路:注意事项:参考代码:    #include <bits/stdc++.h>    using namespace std;    typedef long long ll;    int ……

题解 2861: 验证子串

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ string s,s1; cin>>s>>s1; if(s……

2861: 验证子串

摘要:解题思路:注意事项:谁看得出来下面的数据有什么区别?测试数据:1.abcdddncabca2.abc dddncabca参考代码:s1 = "".join(input().split()) s2 =……

2861: 验证子串

摘要:解题思路:注意事项:参考代码:package arrLast; //题目 2861: 验证子串 import java.util.Scanner; public class t_2861 { ……

2861-验证子串

摘要:解题思路:实际上本题用到了数据结构的思想,采用最传统的暴力法,不断的比较注意事项:参考代码:int main(){ char s1[201]; char s2[201]; int len1……