Borderou de evaluare (job #1853400)

Utilizator gabrielamoldovanMoldovan Gabriela gabrielamoldovan Data 21 ianuarie 2017 18:57:36
Problema Datorii Status done
Runda gym_emag_avansati_2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Adauga(int, int)’: user.cpp:3:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) (x^(x-1)&x) ^ user.cpp:16:23: note: in expansion of macro ‘zeros’ for(i=x; i<=n; i+=zeros(i)) ^ user.cpp: In function ‘void Sterge(int, int)’: user.cpp:3:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) (x^(x-1)&x) ^ user.cpp:25:23: note: in expansion of macro ‘zeros’ for(i=x; i<=n; i+=zeros(i)) ^ user.cpp: In function ‘int Suma(int)’: user.cpp:3:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) (x^(x-1)&x) ^ user.cpp:37:12: note: in expansion of macro ‘zeros’ i-=zeros(i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit480kbTime limit exceeded.0
2Depăşit476kbTime limit exceeded.0
3Depăşit480kbTime limit exceeded.0
4Depăşit480kbTime limit exceeded.0
5Depăşit480kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?