Borderou de evaluare (job #3370234)
| Utilizator | Data | 24 octombrie 2026 16:10:30 | |
|---|---|---|---|
| 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 binsearch0(int, int, int*)':
main.cpp:13:12: error: 'v' was not declared in this scope
13 | if(v[mid] == x) {
| ^
main.cpp: In function 'int binsearch1(int, int, int*)':
main.cpp:32:12: error: 'v' was not declared in this scope
32 | if(v[mid] <= x) {
| ^
main.cpp: In function 'int binsearch2(int, int, int*)':
main.cpp:47:12: error: 'v' was not declared in this scope
47 | if(v[mid] >= x) {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
