摘要: https://www.acwing.com/problem/content/801/ #include<bits/stdc++.h> using namespace std ; int n; const int N=100100; int a[N],s[N]; //a数组用来记录数字,s数组用来记 阅读全文
posted @ 2019-10-31 20:34 晴屿 阅读(326) 评论(0) 推荐(0)
摘要: https://www.luogu.org/problem/P1327 阅读全文
posted @ 2019-10-31 19:29 晴屿 阅读(297) 评论(0) 推荐(0)
摘要: 其实就是二分 阅读全文
posted @ 2019-10-31 15:13 晴屿 阅读(136) 评论(0) 推荐(0)