Borderou de evaluare (job #2803154)
Utilizator | Data | 19 noiembrie 2021 16:33:05 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra(int, int, std::vector<std::vector<std::pair<int, int> > >)':
main.cpp:13:20: error: 'numeric_limits' is not a member of 'std'
13 | int inf = std::numeric_limits<int>::max();
| ^~~~~~~~~~~~~~
main.cpp:13:35: error: expected primary-expression before 'int'
13 | int inf = std::numeric_limits<int>::max();
| ^~~
main.cpp:22:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for (int i = 0; i < lista_costuri[u].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !