背包专题小结
摘要:
#include #include #include #include using namespace std; //树形DP //题意: n间房子,m个士兵;每个士兵可以在一个房间里解决20个bug,不足20个也要一个 // 士兵,这些房子是树形结构,每次到达一个房子,必须把它前面的房子里的bug解决 // 了; // 然后给n个房间的bug数,和解决这些bug... 阅读全文
posted @ 2016-05-01 21:15 bai_yan 阅读(137) 评论(0) 推荐(0) 编辑