Pagini recente » Cod sursa (job #2874462) | Cod sursa (job #2649955) | Cod sursa (job #1382311) | Borderou de evaluare (job #294967) | Borderou de evaluare (job #2282007)
Borderou de evaluare (job #2282007)
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 |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 8ms | 131kb | Incorect | 0 | 0 |
5 | 181ms | 262kb | Incorect | 0 | 0 |
6 | 203ms | 393kb | Time limit exceeded | 0 |
7 | 203ms | 524kb | Time limit exceeded | 0 | 0 |
8 | 200ms | 655kb | Time limit exceeded | 0 |
9 | 203ms | 524kb | Time limit exceeded | 0 |
10 | 200ms | 524kb | Time limit exceeded | 0 |
Punctaj total | 0 |