- Owner
- Banu Denis
- Problem
- Bits
- Contest
- MindCoding 2017 Round 2 Bosch (Div. 1)
- Source
- 0.85KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'int main()': prog.cpp:2:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] #define zeros(x) x&(x-1)^x ^ prog.cpp:42:18: note: in expansion of macro 'zeros' if (sav>(zeros(x))) ^ prog.cpp:2:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] #define zeros(x) x&(x-1)^x ^ prog.cpp:44:19: note: in expansion of macro 'zeros' aux = zeros(x); ^
Results
Test number Result Time 1 Ok 0.2566s 2 Ok 0.2596s 3 Ok 0.2612s 4 Ok 0.2581s 5 Ok 0.2491s 6 Ok 0.2546s 7 Ok 0.2749s 8 Ok 0.4693s 9 Ok 0.2684s 10 Ok 0.2711s