Borderou de evaluare (job #2339165)

Utilizator MitracheMitrache Cristiana Alexandra Mitrache Data 8 februarie 2019 15:29:28
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 cbin(int)': main.cpp:12:18: error: 'msh' was not declared in this scope pos+=msh; ^~~ main.cpp:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( int msk=1<<20;msk>0;msk/=2) ^~~ main.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return pos; ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?