Borderou de evaluare (job #2924766)
Utilizator | Data | 10 octombrie 2022 13:58:51 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs(int, std::vector<int>, std::vector<int>)':
main.cpp:19:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 0; i < graf[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:51:17: error: could not convert '(int*)(& dx)' from 'int*' to 'std::vector<int>'
51 | bfs(x, viz, dx);
| ^~
| |
| int*
main.cpp:53:17: error: could not convert '(int*)(& dy)' from 'int*' to 'std::vector<int>'
53 | bfs(y, viz, dy);
| ^~
| |
| int*
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !