Borderou de evaluare (job #276718)

Utilizator silaghi_raulSzilagyi Raul Razvan silaghi_raul Data 11 martie 2009 12:20:27
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:47:2: warning: no newline at end of file user.cpp: In function 'void add(Nod&, int)': user.cpp:13: error: cannot convert 'Nod' to 'Nod*' in assignment user.cpp:14: error: no match for 'operator=' in 'dest = p' user.cpp:4: note: candidates are: Nod& Nod::operator=(const Nod&) user.cpp: In function 'void citire()': user.cpp:25: error: invalid initialization of reference of type 'Nod&' from expression of type 'Nod*' user.cpp:8: error: in passing argument 1 of 'void add(Nod&, int)' user.cpp:26: error: invalid initialization of reference of type 'Nod&' from expression of type 'Nod*' user.cpp:8: error: in passing argument 1 of 'void add(Nod&, int)' user.cpp: In function 'void df(int)': user.cpp:34: error: expected `)' before ';' token user.cpp:34: error: expected primary-expression before ')' token user.cpp:34: error: expected `;' before ')' token

Ceva nu functioneaza?