Borderou de evaluare (job #3324376)
| Utilizator | Data | 22 noiembrie 2025 10:19:11 | |
|---|---|---|---|
| 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 caz0(int)':
main.cpp:11:26: error: 'n' was not declared in this scope
11 | int st = 0, dr = n-1;
| ^
main.cpp: In function 'int caz1(int)':
main.cpp:34:26: error: 'n' was not declared in this scope
34 | int st = 0, dr = n-1;
| ^
main.cpp: In function 'int caz2(int)':
main.cpp:55:26: error: 'n' was not declared in this scope
55 | int st = 0, dr = n-1;
| ^
main.cpp: In function 'int main()':
main.cpp:77:15: error: 'n' was not declared in this scope; did you mean 'yn'?
77 | in >> n;
| ^
| yn
main.cpp:81:15: error: 'm' was not declared in this scope
81 | in >> m;
| ^
main.cpp:90:35: error: 'caz' was not declared in this scope; did you mean 'caz2'?
90 | raspuns = caz(b);
| ^~~
| caz2
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
