Borderou de evaluare (job #1956971)

Utilizator Tyler_BMNIon Robert Gabriel Tyler_BMN Data 7 aprilie 2017 10:42:10
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Update(int, int, int)’: user.cpp:21:29: error: ‘nod’ was not declared in this scope tree[node] = max(tree[2*nod],tree[2*nod+1]); ^ user.cpp: In function ‘void Query(int, int, int)’: user.cpp:34:17: error: ‘nod’ was not declared in this scope Query(2*nod,left,div); ^ user.cpp:36:17: error: ‘nod’ was not declared in this scope Query(2*nod+1,div+1,right); ^

Ceva nu functioneaza?