Problem | flybot |
---|---|
User | RandomCtfNoob |
Submission Time | 2025-08-04 17:46:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flybot.cpp: In function ‘int checkpath(int, int, const std::vector<std::vector<char> >&, const std::vector<std::vector<int> >&)’:
flybot.cpp:8:5: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
8 | return;
| ^~~~~~
flybot.cpp:15:28: error: too few arguments to function ‘int checkpath(int, int, const std::vector<std::vector<char> >&, const std::vector<std::vector<int> >&)’
15 | return checkpath(x+1,y,map) + checkpath(x,y+1,map);
| ^
flybot.cpp:6:5: note: declared here
6 | int checkpath(int x, int y,const vector<vector<char>>& map,const vector<vector<int>>& dp){
| ^~~~~~~~~
flybot.cpp:15:51: error: too few arguments to function ‘int checkpath(int, int, const std::vector<std::vector<char> >&, const std::vector<std::vector<int> >&)’
15 | return checkpath(x+1