Borderou de evaluare (job #2612130)

Utilizator sauron275Andrei Radu sauron275 Data 8 mai 2020 15:20:51
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void DFSt(int)': main.cpp:50:16: error: invalid initialization of reference of type 'nod*&' from expression of type 'nod' add(CTC[nrc],vf) ~~~~~~~^ main.cpp:20:6: note: in passing argument 1 of 'void add(nod*&, int)' void add(nod *&cap_lst,int nod_ad) ^~~ main.cpp:51:23: error: 'p' was not declared in this scope for(nod *p=GT[vf];p!=NULL;p=p->next) ^ main.cpp: In function 'void afis()': main.cpp:75:19: error: 'ctc' was not declared in this scope for(nod*p=ctc[i];p!=NULL;p=p->next) ^~~ Non zero exit status: 1

Ceva nu functioneaza?