Borderou de evaluare (job #2897136)
Utilizator | Data | 2 mai 2022 16:21:32 | |
---|---|---|---|
Problema | Arbori binari de cautare echilibrati | Status | done |
Runda | arhiva-test | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'node::node(int)':
main.cpp:132:9: warning: 'node::height' will be initialized after [-Wreorder]
132 | int height;
| ^~~~~~
main.cpp:130:20: warning: 'node* node::left' [-Wreorder]
130 | node *father, *left, *right;
| ^~~~
main.cpp:134:5: warning: when initialized here [-Wreorder]
134 | node(int _value) : value(_value), height(1), left(nullptr), right(nullptr) {
| ^~~~
main.cpp: In function 'void between(node*, int, int)':
main.cpp:307:9: error: 'out' was not declared in this scope
307 | out << here->value << " ";
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !