Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

3 8 6 8 0 0这组数据应该不是一棵树,网上大多数只用并查集判断的代码是有误的

Posted by CatG at 2015-08-27 23:26:17 on Problem 1308 and last updated at 2015-08-27 23:36:19
所以还得加上对度数的判断。不过poj上不加上对度数的判断也能过ORZ

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator