Borderou de evaluare (job #2815856)
Utilizator | Alex Oporanu oporanu.alex | Data | 10 decembrie 2021 15:26:29 |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'std::vector<int> Graph::cicluEulerDriver(std::ifstream&)':
main.cpp:88:13: error: 'out' was not declared in this scope
88 | out << "-1\n";
| ^~~
main.cpp: In member function 'void Graph::Darb(std::ofstream&)':
main.cpp:242:9: warning: unused variable 'fLast_dist' [-Wunused-variable]
242 | int fLast_dist = firstLast.second;
| ^~~~~~~~~~
main.cpp: In member function 'void Graph::Kruskal(std::ofstream&)':
main.cpp:497:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
497 | for(int j = 0; j < adj[i].size(); ++j){
| ~~^~~~~~~~~~~~~~~
main.cpp:516:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
516 | for(;i < edges.size() && cnt <= E - 1; ++i){
| ~~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !