Borderou de evaluare (job #2548426)
Utilizator | Data | 16 februarie 2020 17:35:39 | |
---|---|---|---|
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:13:1: error: expected initializer before 'long'
long long int ctotal;
^~~~
main.cpp: In function 'int radacina(int)':
main.cpp:23:8: error: 't' was not declared in this scope
if(t[x]==0)
^
main.cpp:25:5: error: 't' was not declared in this scope
t[x]=radacina(t[x]);
^
main.cpp: In function 'void reuniune(int, int)':
main.cpp:37:9: error: 't' was not declared in this scope
t[rx]=ry;
^
main.cpp:42:9: error: 't' was not declared in this scope
t[ry]=rx;
^
main.cpp: In function 'int main()':
main.cpp:76:13: error: 'ctotal' was not declared in this scope
ctotal+=v[i].c;
^~~~~~
main.cpp:81:10: error: 'ctotal' was not declared in this scope
out<<ctotal<<"\n"<<nrm<<"\n";
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !