摘要: #define PI acos(-1.0)#define ll long long intconst int maxn = 1e2 + 5;using namespace std;struct point { // 这里的点是指球 double x,y... 阅读全文
posted @ 2019-03-01 21:50 pubgoso 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 题目链接题目大意:给你n个物品,第iii个物品价值aia_iai​,询问q次,问你能不能凑出价值为qiq_iqi​的物品。小贪心吧。从大到小找,能拿就拿就行了。 #include#define LL long long#define fi first#def... 阅读全文
posted @ 2019-03-01 15:40 pubgoso 阅读(263) 评论(0) 推荐(0) 编辑