随笔分类 - 图
摘要:传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=1086 [SCOI2005]王室联邦 Description “余”人国的国王想重新编制他的国家。他想把他的国家划分成若干个省,每个省都由他们王室联邦的一个成员来管理。他的国家有n个城市,编号为
阅读全文
摘要:传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=2286 Sdoi2011消耗战 Description 在一场战争中,战场由n个岛屿和n-1个桥梁组成,保证每两个岛屿间有且仅有一条路径可达。现在,我军已经侦查到敌军的总部在编号为1的岛屿,而且
阅读全文
摘要:传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=3052 [wc2013]糖果公园 Description Input Output Sample Input Sample Input Sample Input Sample Output 84
阅读全文
摘要:传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=1468 Tree Description 给你一棵TREE,以及这棵树上边的距离.问有多少对点它们两者间的距离小于等于K Input N(n<=40000) 接下来n-1行边描述管道,按照题目中
阅读全文
浙公网安备 33010602011771号