Hifipsysta-1686-数据结构-定位子串(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string a,b; while(cin>>a>>…… 题解列表 2022年02月12日 0 点赞 0 评论 297 浏览 评分:0.0
1686: 数据结构-定位子串 摘要:解题思路:注意事项:参考代码:while True: try: a,b=input().split() print(a.find(b)+1) e…… 题解列表 2022年03月05日 0 点赞 0 评论 272 浏览 评分:0.0
(c语言代码)暴力解法 摘要:```c #include #include #define MAX 101 int bf(char *num, char *num1) { int i = 0, j = 0; …… 题解列表 2024年08月21日 0 点赞 0 评论 383 浏览 评分:0.0
数据结构-定位子串 find 函数超简单 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义两个字符串变量s1和s2 …… 题解列表 2024年12月05日 0 点赞 0 评论 135 浏览 评分:0.0