Borderou de evaluare (job #1526421)

Utilizator madalomarMadalomar madalomar Data 16 noiembrie 2015 11:20:51
Problema Drumuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:8: error: expected initializer before ‘<’ token vector <int> G[Ndim]; ^ user.cpp: In function ‘void DFS(int)’: user.cpp:10:4: error: ‘viz’ was not declared in this scope viz[x]=1; ^ user.cpp:11:8: error: ‘vector’ was not declared in this scope for(vector <int> :: iterator nod = G[x].begin(); nod !=G[x].end();nod++) ^ user.cpp:11:16: error: expected primary-expression before ‘int’ for(vector <int> :: iterator nod = G[x].begin(); nod !=G[x].end();nod++) ^ user.cpp:11:16: error: expected ‘;’ before ‘int’ user.cpp:11:53: error: ‘nod’ was not declared in this scope for(vector <int> :: iterator nod = G[x].begin(); nod !=G[x].end();nod++) ^ user.cpp:11:59: error: ‘G’ was not declared in this scope for(vector <int> :: iterator nod = G[x].begin(); nod !=G[x].end();nod++) ^ user.cpp:15:10: error: ‘PAR’ was not declared in this scope PAR[*nod]=x; ^ user.cpp:19:8: error: ‘nrm’ was not declared in this scope if((nrm[x]&1)==0) ^ user.cpp:21:24: error: ‘G’ was not declared in this scope for(size_t i=0;i<G[x].size();i+=2) ^ user.cpp:23:10: error: ‘sol’ was not declared in this scope sol[0][++nrsol]=G[x][i]; ^ user.cpp:23:19: error: ‘nrsol’ was not declared in this scope sol[0][++nrsol]=G[x][i]; ^ user.cpp:43:24: error: ‘G’ was not declared in this scope for(size_t i=0;i<G[x].size();i+=2) ^ user.cpp:45:22: error: ‘PAR’ was not declared in this scope if(G[x][i]!=PAR[x]) ^ user.cpp:47:13: error: ‘sol’ was not declared in this scope sol[0][++nrsol]=G[x][i]; ^ user.cpp:47:22: error: ‘nrsol’ was not declared in this scope sol[0][++nrsol]=G[x][i]; ^ user.cpp: In function ‘int main()’: user.cpp:61:9: error: ‘n’ was not declared in this scope fin>>n>>m;

Ceva nu functioneaza?