Borderou de evaluare (job #3127838)
Utilizator | Data | 7 mai 2023 21:12:04 | |
---|---|---|---|
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 member function 'int AVL::min(nod*, int)':
main.cpp:277:29: error: 'INT_MAX' was not declared in this scope
277 | int maxim = INT_MAX;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <fstream>
+++ |+#include <climits>
4 |
main.cpp: In member function 'int AVL::max(nod*, int)':
main.cpp:296:29: error: 'INT_MIN' was not declared in this scope
296 | int minim = INT_MIN;
| ^~~~~~~
main.cpp:296:29: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp: In member function 'int AVL::find(nod*, int)':
main.cpp:272:9: warning: control reaches end of non-void function [-Wreturn-type]
272 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !