Borderou de evaluare (job #3153767)
Utilizator | Data | 1 octombrie 2023 08:57:26 | |
---|---|---|---|
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 function 'int main()':
main.cpp:53:5: error: 'll' was not declared in this scope
53 | ll cf;
| ^~
main.cpp:63:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for(int i = 0; i < edges.size(); ++i){
| ~~^~~~~~~~~~~~~~
main.cpp:66:13: error: 'cf' was not declared in this scope
66 | cf += edges[i].cf;
| ^~
main.cpp:66:28: error: '__gnu_cxx::__alloc_traits<std::allocator<edge>, edge>::value_type' {aka 'struct edge'} has no member named 'cf'
66 | cf += edges[i].cf;
| ^~
main.cpp:71:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int i = 0; i < rasp.size(); ++i)
| ~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !