Borderou de evaluare (job #3362793)
| Utilizator | Data | 12 august 2026 12:16:28 | |
|---|---|---|---|
| Problema | Algoritmul lui Dijkstra | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:35:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(i = 0; i < graf[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:46:12: error: 'dists' was not declared in this scope; did you mean 'dist'?
46 | if(dists[i] == -1){
| ^~~~~
| dist
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
