Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ebicochineal committed Jul 19, 2024
1 parent 3aed6bf commit ca2b8cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions marathon_contest_template_v3/mmsnippets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ struct E512GridUtils {

static vector< vector<int> > getMatrix (E512Grid& g, vector<Edge>& e) {
int n = g.W * g.H;
vector< vector<int> > mat = vector< vector<int> >(n, vector<int>(n));
GraphDijkstra d(n, e);
for (int a = 0; a < n; ++a) {
for (int b = 0; b < n; ++b) {
d.calcPath(a, b);
Expand Down

0 comments on commit ca2b8cf

Please sign in to comment.