Borderou de evaluare (job #2234036)

Utilizator stanbianca611Stan Bianca stanbianca611 Data 25 august 2018 10:39:00
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int cautarebinara0(int, int, int)’: user.cpp:10:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(l==r) if(y==a[l]) return l; ^ user.cpp: In function ‘int main()’: user.cpp:50:18: warning: unused variable ‘p’ [-Wunused-variable] int n, i, m, p, y, x; ^ user.cpp: In function ‘int cautarebinara0(int, int, int)’: user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int cautarebinara1(int, int, int)’: user.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int cautarebinara2(int, int, int)’: user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit1312kbTime limit exceeded.00
2Depăşit1316kbTime limit exceeded.00
3Depăşit1316kbTime limit exceeded.00
4Depăşit1316kbTime limit exceeded.00
5Depăşit1316kbTime limit exceeded.00
6Depăşit1312kbTime limit exceeded.0
7Depăşit1316kbTime limit exceeded.00
8Depăşit1312kbTime limit exceeded.0
9Depăşit1312kbTime limit exceeded.0
10Depăşit1316kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?