Problem flybot
User havinaaaaash
Submission Time 2024-11-07 10:58:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flybot.cpp: In function ‘int main()’:
flybot.cpp:27:37: error: invalid initialization of reference of type ‘std::vector<std::vector<int> >&’ from expression of type ‘std::vector<std::vector<long long int> >’
27 | cout << flypaths(0, 0, h, w, a, paths) % 1000000007;
| ^~~~~
flybot.cpp:6:83: note: in passing argument 6 of ‘int flypaths(int, int, int, int, std::vector<std::__cxx11::basic_string<char> >&, std::vector<std::vector<int> >&)’
6 | int flypaths(int i, int j, int h, int w, vector<string>& a, vector<vector<int> >& paths){
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~