Borderou de evaluare (job #2185273)

Utilizator liisLIIS-Horia-Vlad-Denis liis Data 24 martie 2018 14:18:40
Problema Cuba Status done
Runda Agm 2018 Runda 1 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void add(long long int, long long int)’: user.cpp:9:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) x&(x-1)^x ^ user.cpp:104:30: note: in expansion of macro ‘zeros’ for (int i=pos;i<Nmax;i+=zeros(i)){ ^~~~~ user.cpp: In function ‘void del(long long int, long long int)’: user.cpp:9:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) x&(x-1)^x ^ user.cpp:112:30: note: in expansion of macro ‘zeros’ for (int i=pos;i<Nmax;i+=zeros(i)){ ^~~~~ user.cpp: In function ‘inf query(long long int)’: user.cpp:9:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) x&(x-1)^x ^ user.cpp:121:28: note: in expansion of macro ‘zeros’ for (int i=pos;i>=1;i-=zeros(i)){ ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
116ms26044kbOK10100
220ms32256kbOK10
344ms39372kbOK10
480ms46344kbOK10
5376ms65256kbOK10
6780ms77484kbOK10
7848ms80920kbOK10
8812ms77908kbOK10
9776ms76388kbOK10
10756ms75752kbOK10
Punctaj total100

Ceva nu functioneaza?