Borderou de evaluare (job #2853817)

Utilizator taiwolfgodBogdan Tailup taiwolfgod Data 20 februarie 2022 17:20:55
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dijkstra()': main.cpp:40:13: error: 'fout' was not declared in this scope 40 | fout<<"Ciclu negativ!"; | ^~~~ main.cpp:39:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 39 | if(nrVizitari[top] > N) | ^~ main.cpp:42:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 42 | for(auto nod : G[top]) | ^~~ Non zero exit status: 1

Ceva nu functioneaza?