Borderou de evaluare (job #1977119)
Utilizator | Data | 5 mai 2017 00:14:28 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:23: error: ‘std::set<std::pair<int, int> >::iterator’ has no member named ‘second’
nod=h.begin().second;
^
user.cpp:33:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<vec[nod].size();k++)
^
user.cpp:35:25: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
to=vec[nod].first;
^
user.cpp:36:27: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
cost=vec[nod].second;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !