Borderou de evaluare (job #982057)

Utilizator crushackPopescu Silviu crushack Data 8 august 2013 13:40:54
Problema Permsort2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void update(int)’: user.cpp:4:21: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) ( x&(x-1)^x ) ^ user.cpp:13:25: note: in expansion of macro ‘zeros’ for ( ; x <= N ; x += zeros(x) ) ^ user.cpp: In function ‘int query(int)’: user.cpp:4:21: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] #define zeros(x) ( x&(x-1)^x ) ^ user.cpp:19:24: note: in expansion of macro ‘zeros’ for ( ; x > 0 ; x -= zeros(x) ) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
224ms576kbOK10
340ms808kbOK10
440ms804kbOK10
544ms808kbOK10
640ms808kbOK10
784ms1380kbOK10
880ms1388kbOK10
984ms1384kbOK10
100ms236kbOK10
Punctaj total100

Ceva nu functioneaza?