贪心
-skyline-
这个作者很懒,什么都没留下…
展开
-
Planning
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=3e5+5; struct flight{ ll c; ll id; bool operator < (const flight& x)const {//最后必须加const ...原创 2019-09-24 18:56:55 · 178 阅读 · 0 评论 -
Group Photo 2 (online mirror version) CodeForces - 529B
贪心贪心...... 题目链接 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=300005; int h[N],w[N],n; struct rec{ int h,w; }a[N]; int sum; bool check(int H){ int num...原创 2019-09-26 14:19:40 · 231 阅读 · 0 评论