mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Merge branch 'master' into fixgraph
This commit is contained in:
commit
95f6c6e5fe
@ -3,7 +3,7 @@
|
|||||||
#include <queue>
|
#include <queue>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
typedef std::pair<int, int> PII;
|
using PII = std::pair<int, int>;
|
||||||
|
|
||||||
int prim(int x, const std::vector< std::vector<PII> > &graph) {
|
int prim(int x, const std::vector< std::vector<PII> > &graph) {
|
||||||
// priority queue to maintain edges with respect to weights
|
// priority queue to maintain edges with respect to weights
|
||||||
|
Loading…
Reference in New Issue
Block a user