Borderou de evaluare (job #2774779)

Utilizator AdrianDiaconitaAdrian Diaconita AdrianDiaconita Data 12 septembrie 2021 19:15:51
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:100:12: error: 'INT_MAX' was not declared in this scope ub.val=INT_MAX; ^~~~~~~ main.cpp:101:12: error: 'INT_MIN' was not declared in this scope lb.val=INT_MIN; ^~~~~~~ main.cpp: In function 'int bs(int*, int, int, int)': main.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int low_bound(int*, int, int, int, bound)': main.cpp:63:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int up_bound(int*, int, int, int, bound)': main.cpp:93:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?