Borderou de evaluare (job #1439451)
Utilizator | Data | 22 mai 2015 12:55:04 | |
---|---|---|---|
Problema | Reborn | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void add(int)’:
user.cpp:68:5: error: ‘H’ was not declared in this scope
H[++hSize] = key;
^
user.cpp:68:9: error: ‘hSize’ was not declared in this scope
H[++hSize] = key;
^
user.cpp:69:13: error: ‘up’ was not declared in this scope
up(hSize);
^
user.cpp: In function ‘void del(int)’:
user.cpp:73:5: error: ‘H’ was not declared in this scope
H[hSize--] = H[node];
^
user.cpp:73:7: error: ‘hSize’ was not declared in this scope
H[hSize--] = H[node];
^
user.cpp:74:48: error: ‘up’ was not declared in this scope
if(node > 1 && H[node] > H[node/2]) up(node);
^
user.cpp:75:19: error: ‘down’ was not declared in this scope
else down(node);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !