Borderou de evaluare (job #1128059)

Utilizator DaniEsDani Stetcu DaniEs Data 27 februarie 2014 15:08:28
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:1: error: ‘vector’ does not name a type vector <int> G[NMax]; ^ user.cpp: In function ‘void Read()’: user.cpp:14:3: error: ‘G’ was not declared in this scope G[x].push_back(y); ^ user.cpp: In function ‘void DFS(int, int)’: user.cpp:27:26: error: ‘G’ was not declared in this scope for(unsigned int i=0; i<G[nod].size(); i++) ^ user.cpp:28:20: error: expected ‘]’ before ‘)’ token if(!use[G[nod][i]) ^

Ceva nu functioneaza?