Borderou de evaluare (job #2279970)
Utilizator | Data | 10 noiembrie 2018 10:43:29 | |
---|---|---|---|
Problema | Paduri de multimi disjuncte | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void parinte(int)':
main.cpp:15:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
return nod;
^~~
main.cpp: In function 'void unire(int, int)':
main.cpp:21:19: error: invalid types 'int [1000005][void]' for array subscript
p[parinte(vf1)]=parinte(vf2);
^
main.cpp: In function 'int main()':
main.cpp:36:26: error: 'unite' was not declared in this scope
unite(vf1,vf2);
^
main.cpp:39:28: error: invalid operands of types 'void' and 'void' to binary 'operator=='
if(parinte(vf1)==parinte(vf2))
~~~~~~~~~~~~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !