Borderou de evaluare (job #2774784)
Utilizator | Data | 12 septembrie 2021 19:20:34 | |
---|---|---|---|
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:101:12: error: 'INT_MAX' was not declared in this scope
ub.val=INT_MAX;
^~~~~~~
main.cpp:102: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:94:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !