Borderou de evaluare (job #3004438)
Utilizator | Data | 16 martie 2023 12:27:32 | |
---|---|---|---|
Problema | Padure | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:56:23: error: invalid initialization of reference of type 'const std::vector<std::vector<char> >&' from expression of type 'std::vector<std::vector<int> >'
56 | cout << solve(m, sx, sy, dx, dy) << "\n";
| ^
main.cpp:4:39: note: in passing argument 1 of 'int solve(const std::vector<std::vector<char> >&, int, int, int, int)'
4 | int solve(const vector<vector<char>>& m, int sx, int sy, int px, int py)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !