Borderou de evaluare (job #2544382)

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

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
12ms131kbOK1010
22ms131kbOK1010
33ms131kbOK1010
47ms262kbOK1010
527ms393kbOK1020
688ms917kbOK10
7129ms1441kbOK1040
8132ms1572kbOK10
9135ms1441kbOK10
10134ms1441kbOK10
Punctaj total100

Ceva nu functioneaza?