Borderou de evaluare (job #2282007)

Utilizator SavanderianAlexandru Balan Savanderian Data 13 noiembrie 2018 02:32:58
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int cautbin(int, int, int*, int)': main.cpp:14:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(mij==inc&&mij==sf&&v[mij]!=b) ^~ main.cpp:16:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(b==v[mij]) ^~ main.cpp:19:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(b>v[mij]) ^~ main.cpp:21:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return cautbin(inc,mij,v,b); ^~~~~~ main.cpp: In function 'int main()': main.cpp:75:17: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(b==v[pozitie]&&pozitie<=n) ^~~~~ main.cpp:77:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' pozitie--; ^~~~~~~ main.cpp:85:17: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(b>=v[pozitie]&&pozitie<=n) ^~~~~ main.cpp:87:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' pozitie--; ^~~~~~~ main.cpp:61:20: warning: unused variable 'i' [-Wunused-variable] int v[100000],i,j,n,mij,m; ^ main.cpp:61:22: warning: unused variable 'j' [-Wunused-variable] int v[100000],i,j,n,mij,m; ^ main.cpp:61:26: warning: unused variable 'mij' [-Wunused-variable] int v[100000],i,j,n,mij,m; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
48ms131kbIncorect00
5181ms262kbIncorect00
6203ms393kbTime limit exceeded0
7203ms524kbTime limit exceeded00
8200ms655kbTime limit exceeded0
9203ms524kbTime limit exceeded0
10200ms524kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?