ACM模板——差分约束

a-b≤c a到b连一条c

最短路判负环,有负环就不行

posted @ 2019-09-17 14:02  Asurudo  阅读(171)  评论(0编辑  收藏  举报