Skip to content

Commit

Permalink
redefinition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Dec 17, 2023
1 parent eb90074 commit 49ee84b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/day17.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
#include <vector>
#include <benchmark/benchmark.h>
#include <limits>
#include <aoc2023/position.hpp>

struct Data {
std::vector<std::string> grid;
};

std::pair<std::vector<std::vector<int>>, std::vector<std::vector<int>>> dijkstra(const Data& d) {
std::vector<std::vector<int>> dist(d.grid.size(), std::vector<int>(d.grid[0].size(), std::numeric_limits<int>::infinity()));
std::pair<std::vector<std::vector<int>>, std::vector<std::vector<Pos>>> dijkstra(const Data& d) {
std::vector<std::vector<int>> dist(d.grid.size(), std::vector<int>(d.grid[0].size(), std::numeric_limits<int>::infinity()));
std::vector<std::vector<Pos>> prev;
}

int part1(const Data &data)
Expand Down

0 comments on commit 49ee84b

Please sign in to comment.