Borderou de evaluare (job #2713425)
Utilizator | Data | 27 februarie 2021 21:37:42 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void topo_rendezes(const std::vector<std::vector<int> >&, int)':
main.cpp:35:33: error: binding 'const std::vector<std::vector<int> >' to reference of type 'std::vector<std::vector<int> >&' discards qualifiers
if (!latogatott[i]) DFS(graf, latogatott, topo_sorrend, i);
^~~~
main.cpp:12:6: note: initializing argument 1 of 'void DFS(std::vector<std::vector<int> >&, std::vector<bool>&, std::vector<int>&, int)'
void DFS(vector<vector<int>> &graf, vector<bool> &latogatott,vector<int> &topo_sorrend,int kezdo);
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !