mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Using to replace typedef
This commit is contained in:
parent
c8dfc38456
commit
e5ba469130
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user