摘要: 题目大意: 给定n k 给定主角具有的k种属性 给定n个怪兽具有的k种属性和打死该怪兽后能得到的k种属性对应增幅 求主角最多能打死多少怪兽和最终主角的k种属性 k最大为5 开5个优先队列贪心 快速读入模板 #include <bits/stdc++.h> using namespace std; # 阅读全文
posted @ 2019-02-15 16:06 _Jessie 阅读(315) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_39763472/article/details/82428602 模板来自 https://blog.csdn.net/Avalon_cc/article/details/81663214 bool isP[N]; int P[N], ind; v 阅读全文
posted @ 2019-02-15 14:52 _Jessie 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 题目大意: 给定m n p 求下式 题解:https://blog.csdn.net/codeswarrior/article/details/81700226 莫比乌斯讲解:https://www.cnblogs.com/peng-ym/p/8647856.html 莫比乌斯的mu[]:https 阅读全文
posted @ 2019-02-15 14:47 _Jessie 阅读(165) 评论(0) 推荐(0) 编辑