Borderou de evaluare (job #2807291)
Utilizator | Data | 23 noiembrie 2021 17:06:05 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'int grafMare::radacina(int)':
main.cpp:149:13: error: 'i' was not declared in this scope
149 | if(tree[i]==i)
| ^
main.cpp:151:26: error: 'i' was not declared in this scope
151 | return radacina(tree[i]);
| ^
main.cpp: In member function 'bool grafMare::helsinki()':
main.cpp:191:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
191 | if(x>hel.size())//destule elem
| ~^~~~~~~~~~~
main.cpp: In member function 'void grafMare::citireDFS()':
main.cpp:374:9: warning: unused variable 'start' [-Wunused-variable]
374 | int start=1;
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !