Borderou de evaluare (job #2796190)
Utilizator | Data | 7 noiembrie 2021 18:22:10 | |
---|---|---|---|
Problema | Componente biconexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Graf::BFS(int)':
main.cpp:132:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
132 | for(int i=0; i < this->m_listAdiacenta[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int)':
main.cpp:157:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | for(int i=0; i<this->m_listAdiacenta[nod].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::afisComponenteBiconexe()':
main.cpp:196:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unordered_set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
196 | for(int i=0; i<componenteBiconexe.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSBiconexe(int, int, int)':
main.cpp:213:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
213 | for(int i=0; i<this->m_listAdiacenta[nodCurent].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:274:28: error: no matching function for call to 'Graf::citireGrafNeorientat()'
274 | g.citireGrafNeorientat();
| ^
main.cpp:40:6: note: candidate: 'void Graf::citireGrafNeorientat(char*)'
40 | void Graf::citireGrafNeorientat(char *fisier){
| ^~~~
main.cpp:40:6: note: candidate expects 1 argument, 0 provided
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !