Borderou de evaluare (job #2805760)
| Utilizator | Data | 21 noiembrie 2021 21:45:41 | |
|---|---|---|---|
| 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 'void Graf::APM()':
main.cpp:91:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for (int i = 0; i < lista_muchii.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:91:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
91 | for (int i = 0; i < lista_muchii.size(); i++)
| ^~~
main.cpp:98:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
98 | g<<suma_cost<<'\n';
| ^
main.cpp: In function 'int main()':
main.cpp:107:10: error: 'n' was not declared in this scope
107 | cin>>n>>m;
| ^
main.cpp:107:13: error: 'm' was not declared in this scope
107 | cin>>n>>m;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
