Borderou de evaluare (job #276750)

Utilizator Mr.AndersonRazvan Birsan Mr.Anderson Data 11 martie 2009 12:28:48
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:48:2: warning: no newline at end of file user.cpp: In function 'void add(Pnod&, int)': user.cpp:15: error: cannot convert 'Pnod' to 'Pnod*' in assignment user.cpp:16: error: no match for 'operator=' in 'p = q' user.cpp:5: note: candidates are: Pnod& Pnod::operator=(const Pnod&) user.cpp: In function 'void citire()': user.cpp:27: error: invalid initialization of reference of type 'Pnod&' from expression of type 'Pnod*' user.cpp:10: error: in passing argument 1 of 'void add(Pnod&, int)' user.cpp:28: error: invalid initialization of reference of type 'Pnod&' from expression of type 'Pnod*' user.cpp:10: error: in passing argument 1 of 'void add(Pnod&, int)'

Ceva nu functioneaza?