第三章 图论
热浪
#include <cstring>
#include <iostream>
#include <algorithm>
#include<queue>
using namespace std;
const int N = 2510, M = 6200 * 2 + 10; //边数*2
int n, m, S, T;
int h[N], e[M], w[M], ne[M], idx;
int dist[N], q[N];
bool st[
原创
2021-05-23 21:20:09 ·
131 阅读 ·
0 评论