Borderou de evaluare (job #1850242)

Utilizator patrutoiuandreipatrutoiu andrei patrutoiuandrei Data 18 ianuarie 2017 13:15:17
Problema Path2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void BFS(int, int)’: user.cpp:9:5: error: ‘VIZ’ was not declared in this scope VIZ[nod] = 1; ^ user.cpp:10:5: error: ‘Nr’ was not declared in this scope Nr[nod] = 1; ^ user.cpp:11:5: error: ‘D’ was not declared in this scope D[nod] = 0; ^ user.cpp:12:5: error: ‘queue’ was not declared in this scope queue <int> Q; ^ user.cpp:12:12: error: expected primary-expression before ‘int’ queue <int> Q; ^ user.cpp:12:12: error: expected ‘;’ before ‘int’ user.cpp:13:5: error: ‘Q’ was not declared in this scope Q.push_back(nod); ^ user.cpp:22:26: error: ‘G’ was not declared in this scope for(size_t i=0;i<G[nod].size();i++) ^ user.cpp: In function ‘void reconstit(int, int)’: user.cpp:42:5: error: ‘queue’ was not declared in this scope queue <int> Q; ^ user.cpp:42:12: error: expected primary-expression before ‘int’ queue <int> Q; ^ user.cpp:42:12: error: expected ‘;’ before ‘int’ user.cpp:43:5: error: ‘Q’ was not declared in this scope Q.push_back(nod); ^ user.cpp:44:5: error: ‘nrdr’ was not declared in this scope nrdr = 1; ^ user.cpp:53:9: error: ‘nr’ was not declared in this scope nr = 0; ^ user.cpp:54:26: error: ‘G’ was not declared in this scope for(size_t i=0;i<G[nod].size();i++) ^ user.cpp:57:16: error: ‘D’ was not declared in this scope if(D[fiu] == D[nod]-1) ^ user.cpp:60:17: error: ‘Dr’ was not declared in this scope Dr[fiu].push_back(nod); ^ user.cpp: In function ‘int main()’:

Ceva nu functioneaza?