摘要: Description Solution 遇到位运算直接拆位。 那么查询:如果 y 的第i位是 1 ,那么我们... 阅读全文
posted @ 2016-08-17 21:06 sadstone 阅读(31) 评论(0) 推荐(0) 编辑
摘要: Description Solution 我们现决定选择顺序,显然代价小的先选。 我们可以设 Fi,j 表示做到第 ... 阅读全文
posted @ 2016-08-17 20:44 sadstone 阅读(25) 评论(0) 推荐(0) 编辑
摘要: Description Solution 这题我们只要手推一下公式,可以发现,对于一个 li (或 ti ),... 阅读全文
posted @ 2016-08-17 20:07 sadstone 阅读(41) 评论(0) 推荐(0) 编辑