Borderou de evaluare (job #3214671)

Utilizator alexlazuLazureanu Alexandru Ioan alexlazu Data 14 martie 2024 12:09:21
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:21:1: error: 'vector' does not name a type 21 | vector<int> v[N]; | ^~~~~~ main.cpp: In function 'void height(int, int, int)': main.cpp:29:24: error: 'v' was not declared in this scope 29 | for (auto &i : v[nod]) | ^ main.cpp: In function 'void dfs(int, int, int)': main.cpp:48:24: error: 'v' was not declared in this scope 48 | for (auto& i : v[nod]) | ^ main.cpp: In function 'int main()': main.cpp:92:25: error: 'v' was not declared in this scope 92 | v[i].push_back(t[i]); | ^ Non zero exit status: 1

Ceva nu functioneaza?