Borderou de evaluare (job #3125643)

Utilizator Razvan2699Mircea Andrei Razvan Razvan2699 Data 3 mai 2023 22:44:29
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 function 'int searchBefore(node*, int)': main.cpp:108:18: error: 'INT_MIN' was not declared in this scope 108 | int result = INT_MIN; | ^~~~~~~ main.cpp:3:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'? 2 | #include<fstream> +++ |+#include <climits> 3 | using namespace std; main.cpp: In function 'int searchAfter(node*, int)': main.cpp:121:18: error: 'INT_MAX' was not declared in this scope 121 | int result = INT_MAX; | ^~~~~~~ main.cpp:121:18: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp: In function 'bool searchT(node*, int)': main.cpp:104:1: warning: control reaches end of non-void function [-Wreturn-type] 104 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?