摘要:
先咕着 2018 5 22 题解 生成函数处理整数拆分 code c++ include include include inline int raed() { int x = 0,f = 1; char c = getchar(); while(c = '0')x = x 10 + c '0',c 阅读全文
摘要:
题目链接 "bzoj2879: [Noi2012]美食节" 题解 除了数据范围和修车一样 对于没人没个要求拆点间图 增光一条后更改下次增广费用 然后要返向啊,不然就T了,好坑啊 然后在西校写代码在东校调试,代码格式好鬼畜啊 代码 c++ include include include include 阅读全文
摘要:
题目链接 "bzoj1296: [SCOI2009]粉刷匠" 题解 对于每一行的每种消耗dp 抽离装态,进行整体容量的背包dp 刚开始写的把每种状态全抽了一起背包...然后对于每行选取了好多状态...然后GG惹... 代码 c++ include include include inline int 阅读全文