Borderou de evaluare (job #2334539)

Utilizator alex.cristi_26patica alex alex.cristi_26 Data 2 februarie 2019 18:13: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 cerinta0(int)': main.cpp:11:21: error: 'n' was not declared in this scope if(pos+msk<=n && v[pos+msk]<=val) ^ main.cpp: In function 'int cerinta1(int)': main.cpp:21:21: error: 'n' was not declared in this scope if(pos+msk<=n && v[pos+msk]<=val) ^ main.cpp: In function 'int cerinta2(int)': main.cpp:30:21: error: 'n' was not declared in this scope if(pos+msk<=n && v[pos+msk]<=val) ^ main.cpp: In function 'int cerinta1(int)': main.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?