Solution差分约束模板题Code#include <cstdio> #include <algorithm> #include <cstring> #include <queue> using namespace std; const int N = 101000; const int M = 500000; int n, m; int head[N], nex[M], to[M], val[M], ce; void add(int u, int v, int w) { to[++ce] = v; nex[ce]- 阅读剩余部分 -