Borderou de evaluare (job #1509128)

Utilizator arvlgeArdeleanu Vlad George arvlge Data 23 octombrie 2015 15:38:21
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:2:29: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) (x ^ (x-1) & x) ^ user.cpp:16:29: note: in expansion of macro ‘zeros’ for(int j=i;j<=n;j+=zeros(j)){ ^ user.cpp:2:29: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) (x ^ (x-1) & x) ^ user.cpp:27:25: note: in expansion of macro ‘zeros’ for(;g>0;g-=zeros(g)) ^ user.cpp:2:29: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) (x ^ (x-1) & x) ^ user.cpp:29:25: note: in expansion of macro ‘zeros’ for(;h>0;h-=zeros(h)) ^ user.cpp:2:29: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) (x ^ (x-1) & x) ^ user.cpp:35:26: note: in expansion of macro ‘zeros’ for(;g<=n;g+=zeros(g)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
184ms528kbRaspuns incorect0
284ms536kbRaspuns incorect0
384ms532kbRaspuns incorect0
484ms536kbRaspuns incorect0
584ms532kbRaspuns incorect0
Punctaj total0

Ceva nu functioneaza?