摘要: 题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1104 题意: 有n个仓库(最多100个),m个管理员(最多30个),每个管理员有一个能力值P( 阅读全文
posted @ 2017-03-05 18:23 meekyan 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/766/problem/E Examples input 3 1 2 3 1 2 2 3 out 10 题意: 给你一棵n个点的树,每个点有点权,求所有不同的路径异或和的总和 题解: DP 任选一个root,设定dp[i][j][ 阅读全文
posted @ 2017-03-05 14:07 meekyan 阅读(175) 评论(0) 推荐(0) 编辑