Borderou de evaluare (job #2803495)
Utilizator | Data | 20 noiembrie 2021 09:06:27 | |
---|---|---|---|
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 a0(int*, int, int)':
main.cpp:18:26: error: 'poz' was not declared in this scope; did you mean 'pow'?
18 | if (v[m]==x) poz=m;
| ^~~
| pow
main.cpp:24:9: error: 'poz' was not declared in this scope; did you mean 'pow'?
24 | if (poz==0) return -1;
| ^~~
| pow
main.cpp:25:12: error: 'poz' was not declared in this scope; did you mean 'pow'?
25 | return poz;
| ^~~
| pow
main.cpp: In function 'int a1(int*, int, int)':
main.cpp:36:13: error: 'poz' was not declared in this scope; did you mean 'pow'?
36 | poz=m;
| ^~~
| pow
main.cpp:42:12: error: 'poz' was not declared in this scope; did you mean 'pow'?
42 | return poz;
| ^~~
| pow
main.cpp: In function 'int a2(int*, int, int)':
main.cpp:53:13: error: 'poz' was not declared in this scope; did you mean 'pow'?
53 | poz=m;
| ^~~
| pow
main.cpp:59:12: error: 'poz' was not declared in this scope; did you mean 'pow'?
59 | return poz;
| ^~~
| pow
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !