Borderou de evaluare (job #2882215)
Utilizator | Data | 31 martie 2022 11:15:53 | |
---|---|---|---|
Problema | Lanterna | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:84:20: error: invalid types 'int[int]' for array subscript
84 | cmin[i][k]=INF;
| ^
main.cpp:86:16: error: invalid types 'int[int]' for array subscript
86 | cmin[i][0]=0;
| ^
main.cpp:90:13: error: invalid types 'int[int]' for array subscript
90 | cmin[st][k]=0;
| ^
main.cpp:110:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | for (j=0; j<G[vfmin].size(); j++)
| ~^~~~~~~~~~~~~~~~
main.cpp: In function 'void dijkstraw()':
main.cpp:167:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
167 | for (j=0; j<G[vfmin].size(); j++)
| ~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !