Borderou de evaluare (job #2557599)

Utilizator victorzarzuZarzu Victor victorzarzu Data 25 februarie 2020 21:38:39
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int lca(int, int)': main.cpp:37:8: error: 'lvl' was not declared in this scope if(lvl[x] < lvl[y]) ^~~ main.cpp:40:11: error: 'lvl' was not declared in this scope while(lvl[x] < lvl[y]) ^~~ main.cpp: In function 'int getH(int)': main.cpp:54:8: error: 'lvl' was not declared in this scope if(lvl[nod]) ^~~ main.cpp:56:12: error: 'lvl' was not declared in this scope return lvl[nod] = getH(t[nod]) + 1; ^~~ main.cpp: In function 'void Read()': main.cpp:62:5: error: 'lvl' was not declared in this scope lvl[1] = 1; ^~~ Non zero exit status: 1

Ceva nu functioneaza?