Problem | dijkstra |
---|---|
User | YH |
Submission Time | 2024-11-05 17:11:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dijkstra.cpp: In member function ‘int Graph::findShortestPath(int, int)’:
dijkstra.cpp:38:32: error: invalid types ‘<unresolved overloaded function type>[bool]’ for array subscript
38 | fill[visited, visited+V, false];
| ^
dijkstra.cpp:59:16: error: cannot convert ‘bool’ to ‘bool*’ in assignment
59 | visited[u] = true;
| ^~~~