Borderou de evaluare (job #2856722)
Utilizator | Data | 24 februarie 2022 11:39:41 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool bellmanford()':
main.cpp:71:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<varf>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for (i=0; i<G[x].size(); i++)
| ~^~~~~~~~~~~~
main.cpp:78:23: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
78 | C.push[vf];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !