Borderou de evaluare (job #2933041)
Utilizator | Data | 4 noiembrie 2022 15:28:39 | |
---|---|---|---|
Problema | Retea2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void modifiedPrim()':
main.cpp:38:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<double, double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int i = 0; i < blocuri.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
main.cpp:37:26: warning: unused variable 'gen' [-Wunused-variable]
37 | for (auto const& gen: centrale) {
| ^~~
main.cpp: In function 'int main()':
main.cpp:96:19: error: 'setprecision' was not declared in this scope
96 | g << fixed << setprecision(7) << mstDist;
| ^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !