Borderou de evaluare (job #2226235)
Utilizator | Data | 29 iulie 2018 22:21:59 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Initize_AVL()’:
user.cpp:15:27: error: ‘NULL’ was not declared in this scope
NIL->l = NIL->r = NULL;
^~~~
user.cpp: In function ‘node* delete_node(node*, int)’:
user.cpp:101:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(t = n->r ; t->l != NIL; t = t->l);
^~~
user.cpp:102:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
n->key = t->key;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !