Borderou de evaluare (job #1439528)

Utilizator liisLIIS-Horia-Vlad-Denis liis Data 22 mai 2015 15:46:38
Problema Baruri Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void add(int, int)’: user.cpp:7:25: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zero(x) (x^(x-1)&x) ^ user.cpp:30:33: note: in expansion of macro ‘zero’ for (int i = poz; i <= n; i += zero(i)) ^ user.cpp: In function ‘long int compute(int)’: user.cpp:7:25: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zero(x) (x^(x-1)&x) ^ user.cpp:37:33: note: in expansion of macro ‘zero’ for (int i = poz; i >= 1; i -= zero(i)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1812ms804kbOK100
Punctaj total100

Ceva nu functioneaza?