Borderou de evaluare (job #3365465)
| Utilizator | Data | 21 septembrie 2026 11:17:45 | |
|---|---|---|---|
| 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 solve(int)':
main.cpp:24:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for ( int i = 0; i < vecini[nod].size(); ++i )
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:27:18: error: 'INF' was not declared in this scope
27 | if ( INF != dist[vecin] )
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
