Borderou de evaluare (job #2627440)
Utilizator | Data | 10 iunie 2020 18:22:33 | |
---|---|---|---|
Problema | Catun | 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:46:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < adjList[u].size(); i++) { /// Trec prin toti vecinii.
~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:79:9: error: 'j' was not declared in this scope
for(j = 1; j <= n; j++) D[j] = INF;
^
main.cpp:89:12: error: 'j' was not declared in this scope
for(j = 1; j <= k; j++) {
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !