Borderou de evaluare (job #2802107)

Utilizator oporanu.alexAlex Oporanu oporanu.alex Data 17 noiembrie 2021 16:13:23
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:40:26: error: 's' was not declared in this scope 40 | int crt = extractMin(s, dMin, N); | ^ main.cpp:52:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 52 | for(int i = 2; i <= N; ++i) | ^~~ main.cpp:57:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 57 | return 0; | ^~~~~~ main.cpp:40:9: warning: unused variable 'crt' [-Wunused-variable] 40 | int crt = extractMin(s, dMin, N); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?