09 2020 档案

摘要:奇偶分开即可。代码简单思路重要。 1 #include<bits/stdc++.h> 2 #include <string> 3 using namespace std; 4 int T; 5 string s; 6 int len; 7 int arr[105]; 8 string s1; 9 s 阅读全文
posted @ 2020-09-19 20:47 吉吉的奥利奥 阅读(150) 评论(0) 推荐(0) 编辑
摘要:题目:查找一个模式串在其他串中出现的次数 KMP算法详解链接:https://blog.csdn.net/qq_37969433/article/details/82947411 1 #include<iostream> 2 #include<map> 3 #include<string.h> 4 阅读全文
posted @ 2020-09-16 20:22 吉吉的奥利奥 阅读(158) 评论(0) 推荐(0) 编辑
摘要:关于map函数的一些巧妙运动 1 #include<iostream> 2 #include<map> 3 using namespace std; 4 int main(){ 5 string a,b; 6 map<string,string> ma; 7 int n; 8 cin>>n; 9 f 阅读全文
posted @ 2020-09-16 17:33 吉吉的奥利奥 阅读(167) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示