Borderou de evaluare (job #1040193)

Utilizator dan.ghitaDan Ghita dan.ghita Data 24 noiembrie 2013 08:24:15
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void update(int, int)’: user.cpp:5:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) x&(x-1)^x ^ user.cpp:12:25: note: in expansion of macro ‘zeros’ for(int i=poz; i<=n; i+=zeros(i)){ ^ user.cpp: In function ‘int query(int)’: user.cpp:5:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) x&(x-1)^x ^ user.cpp:20:24: note: in expansion of macro ‘zeros’ for(int i=poz; i>0; i-=zeros(i)){ ^ user.cpp: In function ‘int main()’: user.cpp:60:17: warning: ‘pmx’ may be used uninitialized in this function [-Wmaybe-uninitialized] sir(pmx, mx); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms460kbCorect!1010
24ms640kbCorect!1010
34ms456kbLungime incorecta!00
44ms496kbLungime incorecta!00
54ms500kbLungime incorecta!00
64ms544kbLungime incorecta!00
74ms592kbLungime incorecta!00
8124ms8672kbLungime incorecta!00
9Depăşit3336kbTime limit exceeded.0
10124ms8572kbLungime incorecta!0
Punctaj total20

Ceva nu functioneaza?