摘要:
之前只知道这个东西的大概概念,没具体去写,最近呵呵,今补上。二维线段树 -- 点更段查#include #include #include using namespace std;int N,M;double ma[110>1; if(y>1; if(x>1; if(y2mid) return qu... 阅读全文
posted @ 2014-08-20 16:08
nextbin
阅读(146)
评论(0)
推荐(0)
摘要:
n个技能,每个技能有0~a[i]的等级,m个课程,每个课程需要前置技能c[i]至少达到lv1[i]等级,效果是技能d[i]达到lv2[i]等级,花费w[i]。输出最小花费使得全技能满级(初始全技能0等级)n#include #include #include #include using names... 阅读全文
posted @ 2014-08-20 13:29
nextbin
阅读(365)
评论(0)
推荐(0)

浙公网安备 33010602011771号