摘要: spfa求负环,玄学复杂度 int head[MAXN] = {0}, tot = 0; void init(){ mem(head); tot = 0; } struct node { int from, to, val, nex; } edge[MAXN << 1]; int add(int x 阅读全文
posted @ 2019-09-04 16:46 张浦 阅读(83) 评论(0) 推荐(0) 编辑