Borderou de evaluare (job #2821752)
Utilizator | Data | 22 decembrie 2021 23:28:09 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:668:35: error: stray '`' in program
668 | citireDFS("dfs.in", "dfs.out"); `
| ^
main.cpp: In member function 'void grafMare::citire_graf(std::istream&)':
main.cpp:51:9: warning: unused variable 'cost' [-Wunused-variable]
51 | int cost = 0;
| ^~~~
main.cpp: In member function 'bool grafMare::helsinki(std::vector<int>&)':
main.cpp:317:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
317 | if(x>hel.size())//destule elem
| ~^~~~~~~~~~~
main.cpp: In member function 'void grafMare::bellman(std::istream&, std::ofstream&)':
main.cpp:530:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
530 | if(x==0)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !