Borderou de evaluare (job #2035980)

Utilizator MaligMamaliga cu smantana Malig Data 10 octombrie 2017 08:36:05
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:1: error: ‘vector’ does not name a type vector<int> v[NMax]; ^ user.cpp: In function ‘int main()’: user.cpp:22:9: error: ‘N’ was not declared in this scope in>>N>>M; ^ user.cpp:22:12: error: ‘M’ was not declared in this scope in>>N>>M; ^ user.cpp:24:13: error: ‘v’ was not declared in this scope in>>v[i]; ^ user.cpp:31:9: error: ‘v’ was not declared in this scope v[x].pb(y); ^ user.cpp:37:5: error: ‘lg’ was not declared in this scope lg[1] = 0; ^ user.cpp:47:29: error: ‘j’ was not declared in this scope node2 = rmq[j+(1<<(p-1))][p-1]; ^ user.cpp: In function ‘void buildEuler(int, int)’: user.cpp:78:5: error: ‘posEuler’ was not declared in this scope posEuler[node] = euler[0]; ^ user.cpp:81:20: error: ‘v’ was not declared in this scope for (int nxt : v[node]) { ^ user.cpp: In function ‘void buildLin(int, int)’: user.cpp:94:20: error: ‘v’ was not declared in this scope for (int nxt : v[node]) { ^

Ceva nu functioneaza?