Using to replace typedef

This commit is contained in:
Filip Hlásek 2020-08-08 09:29:02 -07:00
parent c8dfc38456
commit e5ba469130

View File

@ -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