Borderou de evaluare (job #2269963)
Utilizator | Data | 26 octombrie 2018 20:36:15 | |
---|---|---|---|
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 caut0(int)':
main.cpp:15:25: error: 'n' was not declared in this scope
if ( r + pas <= n && v[r + pas] <= x)
^
main.cpp: In function 'int caut1(int)':
main.cpp:33:25: error: 'n' was not declared in this scope
if ( r + pas <= n && v[r + pas] <= x)
^
main.cpp: In function 'int caut2(int)':
main.cpp:47:25: error: 'n' was not declared in this scope
if ( r + pas <= n && v[r + pas] < x)
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !