上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页
摘要: 暴力: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int N = 100005; long int temp[N]; int main(){ char temp[N]; 阅读全文
posted @ 2020-01-14 21:03 JasonPeng1 阅读(134) 评论(0) 推荐(0)
摘要: 并没有用到双指针遍历 #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int N = 2000005; long int temp[N]; int main(){ int c 阅读全文
posted @ 2020-01-14 17:54 JasonPeng1 阅读(144) 评论(0) 推荐(0)
摘要: 插入排序: #include <string> using namespace std; const int N = 111; //插入排序 int temp[N]; int main(){ int n; cin>>n; for(int i=0;i<n;++i){ cin>>temp[i]; } i 阅读全文
posted @ 2020-01-14 14:05 JasonPeng1 阅读(180) 评论(0) 推荐(0)
摘要: 二重循环枚举 #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 100005; bool cmp(int a,int b){ return a<b; 阅读全文
posted @ 2020-01-13 09:26 JasonPeng1 阅读(200) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int MAX_LEN = 100005; bool cmp(double a,double b){ return a > b 阅读全文
posted @ 2020-01-10 18:33 JasonPeng1 阅读(186) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-10 18:32 JasonPeng1 阅读(146) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-10 13:16 JasonPeng1 阅读(334) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-10 13:13 JasonPeng1 阅读(169) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-10 12:59 JasonPeng1 阅读(149) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-10 12:50 JasonPeng1 阅读(149) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页