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 0133619 at 2014-12-07 22:01:33 on Problem 1986
如果不联通,假设2,6分别在两个不同的集合里,那么他们的距离该怎么算。%>_<%,总不能输出一个无穷大吧,还有那个方向的确是没有用,%>_<%

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