Borderou de evaluare (job #2282035)

Utilizator SavanderianAlexandru Balan Savanderian Data 13 noiembrie 2018 08:58:14
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(inc>sf) ^~ 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-1,v,b); ^~~~~~ main.cpp: In function 'int main()': main.cpp:82:14: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(b==v[pozitie]&&pozitie<=n) ^~~~~ main.cpp:84:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' pozitie--; ^~~~~~~ main.cpp:93:17: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(b>=v[pozitie]&&pozitie<=n) ^~~~~ main.cpp:95: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
1203ms131kbTime limit exceeded00
2200ms131kbTime limit exceeded00
3202ms131kbTime limit exceeded00
4203ms131kbTime limit exceeded00
5203ms131kbTime limit exceeded00
6200ms393kbTime limit exceeded0
7203ms524kbTime limit exceeded00
8200ms524kbTime limit exceeded0
9203ms524kbTime limit exceeded0
10200ms524kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?