Borderou de evaluare (job #2109837)
Utilizator | Data | 20 ianuarie 2018 10:39:25 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Union(int, int)’:
user.cpp:45:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i!=j)
^
user.cpp: In function ‘void citire()’:
user.cpp:68:11: error: expected unqualified-id before ‘=’ token
muchie=aux;
^
user.cpp:72:16: error: ‘aux’ was not declared in this scope
fin >> aux.x >> aux.y >> aux.c;
^
user.cpp: In function ‘void kruskal()’:
user.cpp:81:11: error: expected unqualified-id before ‘=’ token
muchie=aux;
^
user.cpp:82:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(A.size()<n-1)
^
user.cpp:84:9: error: ‘aux’ was not declared in this scope
aux=H.top();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !