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 xuhanqiu at 2008-12-03 08:15:11 on Problem 3259 and last updated at 2008-12-03 08:15:45
In Reply To:题目有点难懂. Posted by:ecjtuwf at 2008-10-02 21:25:38
差不多就是这个意识啦。
这题考察两点:
1.创建图G --- 需要判断边的权值,保存最小的
2.判断一个有向图G是否存在负权回路 (思想: 引入一个超级源点s调用bellman-ford)

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