diff --git a/graph/prim.cpp b/graph/prim.cpp index c156bf3b8..0432926ef 100644 --- a/graph/prim.cpp +++ b/graph/prim.cpp @@ -3,7 +3,7 @@ #include #include -typedef std::pair PII; +using PII = std::pair; int prim(int x, const std::vector< std::vector > &graph) { // priority queue to maintain edges with respect to weights