mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-03 02:29:53 +08:00
Merge branch 'master' into fixgraph
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <queue>
|
||||
#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) {
|
||||
// priority queue to maintain edges with respect to weights
|
||||
|
||||
Reference in New Issue
Block a user