Borderou de evaluare (job #2807305)
Utilizator | Data | 23 noiembrie 2021 17:14:09 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Graf::Dijkstra(int)':
main.cpp:74:52: error: invalid use of member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]' (did you forget the '()' ?)
74 | for ( size_t i = 0; i < graf_ponderat[nod].size; i++ )
| ~~~~~~~~~~~~~~~~~~~^~~~
| ()
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !