spfa模板 hdu2544
//hdu2544
#include
#include
#include
#include
#include
#define INF 0x3f3f3f3f
using namespace std;
const int maxn = 100010;
struct edge {
int to, w, next;
}e[maxn];
int head[maxn], dist[maxn], visit
转载
2017-10-20 17:47:56 ·
226 阅读 ·
0 评论