Problem subgraphs
User Johnnie
Submission Time 2023-06-25 11:35:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp:4:63: error: template argument 2 is invalid
4 | void DFS(int start, map<int, bool adjMatrix[][], bool visited[])
| ^
subgraphs.cpp:4:63: error: template argument 4 is invalid
subgraphs.cpp:4:63: error: template argument 2 is invalid
subgraphs.cpp:4:63: error: template argument 4 is invalid
subgraphs.cpp:4:63: error: template argument 2 is invalid
subgraphs.cpp:4:63: error: template argument 4 is invalid
subgraphs.cpp:4:63: error: template argument 2 is invalid
subgraphs.cpp:4:63: error: template argument 4 is invalid
subgraphs.cpp:4:21: error: invalid template-id
4 | void DFS(int start, map<int, bool adjMatrix[][], bool visited[])
| ^~~
subgraphs.cpp:4:30: error: expected primary-expression before ‘bool’
4 | void DFS(int start, map<int, bool adjMatrix[][], bool visited[])
| ^~~~