Borderou de evaluare (job #1332562)

Utilizator casuneanu.andreiCasuneanu Andrei Dan casuneanu.andrei Data 2 februarie 2015 10:27:44
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int suma(int)’: user.cpp:6:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define p2mare(x) ((x ^ (x - 1) & x)) ^ user.cpp:45:29: note: in expansion of macro ‘p2mare’ for (aux=p; aux>0; aux-=p2mare(aux)) ^ user.cpp: In function ‘void update(int, int)’: user.cpp:6:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define p2mare(x) ((x ^ (x - 1) & x)) ^ user.cpp:53:30: note: in expansion of macro ‘p2mare’ for (aux=p; aux<=n; aux+=p2mare(aux)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbOK10
20ms416kbOK10
34ms444kbOK10
428ms600kbOK10
568ms688kbOK10
6104ms916kbOK10
720msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
1020msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?