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

感觉数据比较弱啊,题目应该没说图是联通的吧,我没考虑图不联通的情况就AC了

Posted by xiaojiegt at 2011-08-12 09:47:25 on Problem 2240
如果图不连通,就应该新建一个点并且连接至所有其它顶点,然后再求有没有负权回路

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