Borderou de evaluare (job #2334569)

Utilizator vladdobro07vladdd vladdobro07 Data 2 februarie 2019 18:22:52
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int ct0bin(int, int)': main.cpp:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int msk=1<<20;msk>0;msk/=2) ^~~ main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(v[pos]==val) ^~ main.cpp: In function 'int ct1bin(int, int)': main.cpp:39:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int msk=1<<20;msk>0;msk/=2) ^~~ main.cpp:45:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(v[pos]<=val) ^~ main.cpp: In function 'int ct2bin(int, int)': main.cpp:57:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int msk=1<<20;msk>0;msk/=2) ^~~ main.cpp:63:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' while(v[pos]==val) ^~~~~ main.cpp: In function 'int ct1bin(int, int)': main.cpp:49:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
33ms131kbOK1010
46ms131kbOK1010
527ms262kbOK1020
685ms655kbOK10
7108ms1048kbOK1040
8130ms1179kbOK10
9132ms1048kbOK10
10133ms1048kbOK10
Punctaj total100

Ceva nu functioneaza?