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

Compile Error

subgraphs.cpp:4:26: error: declaration of ‘adjMatrix’ as multidimensional array must have bounds for all dimensions except the first
4 | void DFS(int start, bool adjMatrix[][], bool visited[])
| ^~~~~~~~~
subgraphs.cpp:4:39: error: expected ‘)’ before ‘,’ token
4 | void DFS(int start, bool adjMatrix[][], bool visited[])
| ~ ^
| )
subgraphs.cpp:4:41: error: expected unqualified-id before ‘bool’
4 | void DFS(int start, bool adjMatrix[][], bool visited[])
| ^~~~