摘要: 给出m种花,对于每一种花,购买第一束可以带来ai的开心值,之后买第二束、第三束会增加bi...你可以购买n种花,询问怎么设计购买方案,使得总开心值最大。 #include<bits/stdc++.h> using namespace std; const int maxn=2e5+100; type 阅读全文
posted @ 2020-07-20 11:08 zlc0405 阅读(208) 评论(0) 推荐(0) 编辑