Borderou de evaluare (job #2363035)

Utilizator CojocaruVicentiuCojocaru Vicentiu CojocaruVicentiu Data 3 martie 2019 12:36:48
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void kruskal()': main.cpp:35:9: error: 'stop' was not declared in this scope stop=0; ^~~~ main.cpp:38:13: error: 'a' was not declared in this scope a=arb(M[k].x); ^ main.cpp:39:13: error: 'b' was not declared in this scope b=arb(M[k].y); ^ main.cpp:46:9: error: 'sum' was not declared in this scope sum+=M[k].c; ^~~ main.cpp:47:15: error: 'a' was not declared in this scope if( H[a] == H[b] ) ^ main.cpp:47:23: error: 'b' was not declared in this scope if( H[a] == H[b] ) ^ main.cpp: In function 'int main()': main.cpp:79:15: warning: unused variable 'a' [-Wunused-variable] int i,sum,a, b, stop; ^ main.cpp:79:18: warning: unused variable 'b' [-Wunused-variable] int i,sum,a, b, stop; ^ main.cpp:79:21: warning: unused variable 'stop' [-Wunused-variable] int i,sum,a, b, stop; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?