摘要: 题目 The first stage of train system reform (that has been described in the problem Railways of the third stage of 14th Polish OI. However, one needs no 阅读全文
posted @ 2020-04-12 22:31 YouXam 阅读(97) 评论(0) 推荐(1) 编辑
摘要: 题目 B君在围观一群男生和一群女生玩游戏,具体来说游戏是这样的: 给出一棵n个节点的树,这棵树的每条边有一个权值,这个权值只可能是0或1。 在一局游戏开始时,会确定一个节点作为根。接下来从女生开始,双方轮流进行操作。 当一方操作时,他们需要先选择一个不为根的点,满足该点到其父亲的边权为1; 然后找出 阅读全文
posted @ 2020-04-12 20:25 YouXam 阅读(106) 评论(0) 推荐(1) 编辑