摘要: 思路: two pointers #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 100005; bool cmp(int a,int b){ r 阅读全文
posted @ 2020-01-07 18:18 JasonPeng1 阅读(134) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 10005; int main(){ char fir[MAX_LEN]; char sec[MA 阅读全文
posted @ 2020-01-07 16:51 JasonPeng1 阅读(99) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 10005; int main(){ int n; cin>>n; int temp[MAX_LE 阅读全文
posted @ 2020-01-07 16:35 JasonPeng1 阅读(135) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 10005; //char str[MAX_LEN]; //int hashTable[30] = 阅读全文
posted @ 2020-01-07 14:22 JasonPeng1 阅读(163) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 10005; char str[MAX_LEN]; int hashTable[30] = {0} 阅读全文
posted @ 2020-01-07 13:58 JasonPeng1 阅读(180) 评论(0) 推荐(0)