Borderou de evaluare (job #1089984)
Utilizator | Data | 22 ianuarie 2014 09:53:54 | |
---|---|---|---|
Problema | Heapuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void percolate(int)’:
user.cpp:31:14: error: ‘posH’ was not declared in this scope
int pH = posH[posAdd[nod]];
^
user.cpp: In function ‘void sift(int)’:
user.cpp:56:98: error: ‘right_son’ was not declared in this scope
if (left_son(nod) <= N && H[nod] > H[left_son(nod)] && H[left_son(nod)] < H[right_son(nod)]) son = left_son(son);
^
user.cpp: In function ‘int main()’:
user.cpp:81:13: error: ‘posH’ was not declared in this scope
posH[nr] = N;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !