Problem | subgraphs |
---|---|
User | SheepHeads |
Submission Time | 2024-01-10 19:21:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:63:13: error: invalid initialization of reference of type ‘std::vector<int> (&)[]’ from expression of type ‘std::vector<int> [node]’
63 | travel(n, arr, visited);
| ^~~
subgraphs.cpp:13:38: note: in passing argument 2 of ‘void travel(int&, std::vector<int> (&)[], int (&)[])’
13 | void travel(int& node, vector<int> (&arr)[], int (&visited)[]){
| ~~~~~~~~~~~~~~^~~~~~