Borderou de evaluare (job #1332568)

Utilizator casuneanu.andreiCasuneanu Andrei Dan casuneanu.andrei Data 2 februarie 2015 10:31:32
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:44: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:52:30: note: in expansion of macro ‘p2mare’ for (aux=p; aux<=n; aux+=p2mare(aux)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbOK10
20ms416kbOK10
34ms452kbOK10
428ms600kbOK10
568ms684kbOK10
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?