Borderou de evaluare (job #2334492)

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

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
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
47ms131kbIncorect00
577ms262kbIncorect00
6203ms524kbTime limit exceeded0
7201ms524kbTime limit exceeded00
8201ms655kbTime limit exceeded0
9200ms524kbTime limit exceeded0
10201ms524kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?