Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
回答你的疑问 :)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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator