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

题目的样例输出不能算错,容易造成误导!

Posted by FriendshipPKU at 2009-03-30 16:01:17 on Problem 1861
In Reply To:simple output 好像有些错误,费解:( Posted by:acm2008 at 2006-09-08 16:37:20
题目中的样例输出有点怪异,但是不能算错了!如果样例的输出为如下情况也正确:
1
3
1 2
1 3
2 4
解本题只需按照Kruskal算法进行计算就可以了!

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