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
阅读全文
摘要:题目:查找一个模式串在其他串中出现的次数 KMP算法详解链接:https://blog.csdn.net/qq_37969433/article/details/82947411 1 #include<iostream> 2 #include<map> 3 #include<string.h> 4
阅读全文
摘要:关于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
阅读全文