Borderou de evaluare (job #3237934)
Utilizator | Data | 14 iulie 2024 15:19:53 | |
---|---|---|---|
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 cb0(int)':
main.cpp:27:22: error: 'v' was not declared in this scope
27 | if (rez == -1 || v[rez] != x) {
| ^
main.cpp: In function 'int cb1(int)':
main.cpp:52:22: error: 'v' was not declared in this scope
52 | if (rez == -1 || v[rez] != x) {
| ^
main.cpp: In function 'int cb2(int)':
main.cpp:75:22: error: 'v' was not declared in this scope
75 | if (rez == -1 || v[rez] != x) {
| ^
main.cpp: In function 'int cb0(int)':
main.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type]
32 | }
| ^
main.cpp: In function 'int cb1(int)':
main.cpp:57:1: warning: control reaches end of non-void function [-Wreturn-type]
57 | }
| ^
main.cpp: In function 'int cb2(int)':
main.cpp:80:1: warning: control reaches end of non-void function [-Wreturn-type]
80 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !