P1144 最短路計數 spfa

P1144 最短路計數 #include<bits/stdc++.h> using namespace std; #define maxn 1000010 const int inf = 0x7fffffff; int n, m, x, y; struct Edge{ int next; int to; }e[maxn]; int head[maxn],t=0; void addEd
相關文章
相關標籤/搜索