Problem | omnomnom |
---|---|
User | SheepHeads |
Submission Time | 2024-02-12 15:12:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
omnomnom.cpp: In function ‘int main()’:
omnomnom.cpp:57:25: error: invalid initialization of reference of type ‘std::vector<long long int> (&)[]’ from expression of type ‘std::vector<long long int> [n]’
57 | cout << f(0, true, adjList, dp);
| ^~~~~~~
omnomnom.cpp:5:46: note: in passing argument 3 of ‘long long int f(long long int, bool, std::vector<long long int> (&)[], std::vector<std::vector<long long int> >&)’
5 | int f(int index, bool canTake, vector<int> (&adjList)[], vector<vector<int>> &dp){
| ~~~~~~~~~~~~~~^~~~~~~~~~