Borderou de evaluare (job #2334485)

Utilizator traiandobrinDobrin Traian traiandobrin Data 2 februarie 2019 17:51:48
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int cb0(int)': main.cpp:10:15: warning: unused variable 'i' [-Wunused-variable] int msk,pos=0,i; ^ main.cpp: In function 'int cb1(int)': main.cpp:23:15: warning: unused variable 'i' [-Wunused-variable] int msk,pos=0,i; ^ main.cpp: In function 'int cb2(int)': main.cpp:36:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(pos+msk<=n && v[pos+msk]>=val) ^~ main.cpp:38:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' while(v[pos]>=val) ^~~~~ main.cpp:38:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] main.cpp:40:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(v[pos]<val) ^~~~~ main.cpp:33:15: warning: unused variable 'i' [-Wunused-variable] int msk,pos=0,i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
33ms131kbOK1010
48ms131kbOK1010
5141ms262kbOK100
6200ms393kbTime limit exceeded0
7200ms524kbTime limit exceeded00
8201ms524kbTime limit exceeded0
9202ms524kbTime limit exceeded0
10200ms524kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?