Borderou de evaluare (job #2132085)

Utilizator Mihai_PredaPreda Mihai Dragos Mihai_Preda Data 15 februarie 2018 13:48:44
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In constructor ‘AIB::AIB(int)’: user.cpp:13:9: error: ‘n’ was not declared in this scope n = sz; ^ user.cpp: In member function ‘void AIB::Add(int, int)’: user.cpp:19:22: error: ‘n’ was not declared in this scope while(ind <= n) ^ user.cpp: In member function ‘int AIB::GetFirstPos(int)’: user.cpp:42:30: error: ‘n’ was not declared in this scope for(step = 1; step < n; step <<= 1); ^ user.cpp:45:28: error: ‘n’ was not declared in this scope if(i + step <= n) ^

Ceva nu functioneaza?