摘要: [SDOI2011]染色 Time Limit: 20 Sec Memory Limit: 512 MBSubmit: 6870 Solved: 2546[Submit][Status][Discuss] Description 给定一棵有n个节点的无根树和m个操作,操作有2类: 1、将节点a到节点 阅读全文
posted @ 2017-01-30 22:58 贱人方 阅读(193) 评论(0) 推荐(0)
摘要: Tree Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 9123 Accepted: 2411 Description You are given a tree with N nodes. The tree’s nodes a 阅读全文
posted @ 2017-01-30 01:19 贱人方 阅读(462) 评论(0) 推荐(0)