洛谷 1316 丢瓶盖

【题解】   二分答案+贪心check. 1 #include<cstdio> 2 #include<algorithm> 3 #include<cstring> 4 #define LL long long 5 #define rg register 6 #define N 200010 7 using namespace std; 8 int n,m,a[N],l,r,mid;
相关文章
相关标签/搜索