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 |
一组数据,题目数据没考虑这里,过不了也能AC4 2 1 1 2 2 3 4 4 3 4 5 -1 差分约束系统判断可行解方法是,从额外点0向每一个顶点连一条权值为0的边,然后以0为源点判断是否存在负环...(不等式是<=时判断负环,不等式是>=时判断正环..) 个人理解,有错误请指正... Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator