摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4714Tree2cycleTime Limit: 15000/8000 MS (Java/Others)Memory Limit: 102400/102400 K (Java/Others)Total Submission(s): 400Accepted Submission(s): 78Problem DescriptionA tree with N nodes and N-1 edges is given. To connect or disconnect one edge, we need 1 阅读全文