Borderou de evaluare (job #3363007)
| Utilizator | Data | 13 august 2026 12:49:10 | |
|---|---|---|---|
| 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 'int main()':
main.cpp:8:27: error: redeclaration of 'int u'
8 | int n,m,i,u,v,w,src,d,u;
| ^
main.cpp:8:15: note: 'int u' previously declared here
8 | int n,m,i,u,v,w,src,d,u;
| ^
main.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(i=0;i<g[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 !
