Problem | universe |
---|---|
User | SheepHeads |
Submission Time | 2024-02-19 20:13:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
universe.cpp: In function ‘int main()’:
universe.cpp:52:39: error: invalid initialization of reference of type ‘std::vector<int> (&)[]’ from expression of type ‘std::vector<int> [n]’
52 | cout << getSum(0, 0, k, num, vis, adjList);
| ^~~~~~~
universe.cpp:4:96: note: in passing argument 6 of ‘int getSum(int, int, int&, std::vector<bool>&, std::vector<bool>&, std::vector<int> (&)[])’
4 | int getSum(int index, int steps, int &max, vector<bool> &num, vector<bool> &vis, vector<int> (&adjList)[]){
| ~~~~~~~~~~~~~~^~~~~~~~~~