Borderou de evaluare (job #585840)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Căutare binară | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 mar. 2021 13:47:31 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int caut_bin0(int)':
main.cpp:15:20: error: 'mid' was not declared in this scope; did you mean 'mij'?
15 | return mid;
| ^~~
| mij
main.cpp:16:14: error: 'mid' was not declared in this scope; did you mean 'mij'?
16 | if(v[mid] <= x)
| ^~~
| mij