Borderou de evaluare (job #1668433)

Utilizator dobrebogdanDobre Bogdan Mihai dobrebogdan Data 29 martie 2016 19:56:44
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:15:1: error: ‘deque’ does not name a type deque<nod *> dq; ^ user.cpp: In function ‘void dfs(nod*, int)’: user.cpp:26:23: error: ‘i’ was not declared in this scope if(tm->fiu[si[i]]!=NULL) ^ user.cpp:38:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(rot->fiu[si[i]]!=NULL) ^ user.cpp:39:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] dfs(rot->fiu[si[i]],si[i]); ^ user.cpp: In function ‘int main()’: user.cpp:64:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(tm->fiu[s2[j]]==NULL) ^ user.cpp:66:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] tm->fiu[s2[j]]=new nod(); ^ user.cpp:67:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] tm->fiu[s2[j]]->tata=tm; ^ user.cpp:69:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] tm=tm->fiu[s2[j]]; ^ user.cpp:79:9: error: ‘rot’ was not declared in this scope rot=root; ^ user.cpp:89:1: error: ‘dq’ was not declared in this scope dq.push_back(root); ^ user.cpp:104:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(tm->fiu[si[i]]!=NULL) ^ user.cpp:105:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] tm=tm->fiu[si[i]]; ^ user.cpp:111:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(tm->fiu[si[i]]!=NULL) ^ user.cpp:112:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] tm=tm->fiu[si[i]]; ^ user.cpp:117:12: error: ‘struct nod’ has no member named ‘co’ tm->co++; ^ user.cpp:50:9: warning: unused variable ‘ans’ [-Wunused-variable] int ans=0,n,m,i,j,l,l1; ^

Ceva nu functioneaza?