when you write 033333333333 you mean 0x033.33 right and 0x111.11 you mean 0001 0001 ... 0001 in binary. Correct?
sorry there was a typo in the puzzle 2. Using only bitwise operations: ! ~ & ^ | + << >> and no loops, function calls, or conditional...
There are some restrictions: 1. We are not allowed to use unsigned integers 2. You are using '-' (minus) operator (easy to substitute by [~(x) +...
I need time to process first solution :) Here is clarification on the second one static int sum(int x, int y) { return x+y; } int...
1. Using only bitwise operations: ! ~ & ^ | + << >> and no loops, function calls, or conditional statements count number of bits in a passed...
Separate names with a comma.