Borderou de evaluare (job #2544381)

Utilizator S_DanSochirca Dan S_Dan Data 11 februarie 2020 23:14:36
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cautbin2(long int, int, int)': main.cpp:27:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(a[r+1]<=x && r+1<=n) r++; return r; ^~~~~ main.cpp:27:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(a[r+1]<=x && r+1<=n) r++; return r; ^~~~~~ main.cpp: In function 'int cautbin3(long int, int, int)': main.cpp:37:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(a[r-1]>=x && r-1>=1) r--; return r; ^~~~~ main.cpp:37:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(a[r-1]>=x && r-1>=1) r--; return r; ^~~~~~ main.cpp: In function 'int cautbin1(long int, int, int)': main.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
46ms131kbIncorect00
525ms262kbIncorect00
683ms786kbIncorect0
7117ms1310kbIncorect00
8114ms1310kbIncorect0
9128ms1310kbIncorect0
10131ms1310kbIncorect0
Punctaj total0

Ceva nu functioneaza?