摘要:
1036: [ZJOI2008]树的统计CountTime Limit:10 SecMemory Limit:162 MBSubmit:7496Solved:3078[Submit][Status][Discuss]Description一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。... 阅读全文
摘要:
2243: [SDOI2011]染色Time Limit:20 SecMemory Limit:512 MBSubmit:3113Solved:1204[Submit][Status][Discuss]Description给定一棵有n个节点的无根树和m个操作,操作有2类:1、将节点a到节点b路径上... 阅读全文
摘要:
3631: [JLOI2014]松鼠的新家Time Limit:10 SecMemory Limit:128 MBSubmit:707Solved:342[Submit][Status][Discuss]Description松鼠的新家是一棵树,前几天刚刚装修了新家,新家有n个房间,并且有n-1根树... 阅读全文