Borderou de evaluare (job #2282006)

Utilizator SavanderianAlexandru Balan Savanderian Data 13 noiembrie 2018 02:27:03
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' g<<pozitie<<'\n'; ^ 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
413ms131kbIncorect00
5203ms262kbTime limit exceeded00
6200ms393kbTime limit exceeded0
7200ms524kbTime limit exceeded00
8203ms524kbTime limit exceeded0
9200ms524kbTime limit exceeded0
10203ms524kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?