CTS
Company
You are having 31kg of rice. You are provided with a 1kg stone for weighing. In how many weights the 31kg of rice can be weighed. ?
Read Solution (Total 2)
-
- 5 weights...... in 1st weight 1kg stone and 1 kg rice.. rice weighed = 1kg.
2nd weighing 2kg of (stone +rice) and 2 kg of rice.. rice weighed = 3kg.
3rd weighing 4kg of (stone +rice) and 4 kg of rice.. rice weighed = 7kg.
4th weighing 8kg of (stone +rice) and 8 kg of rice.. rice weighed = 15kg.
5th weighing 16kg of (stone +rice) and 16 kg of rice.. rice weighed = 31kg.
- 13 years agoHelpfull: Yes(42) No(8)
- ans : 5
16 8 4 2 1 (2^4 2^3 2^2 2^1 2^0) 2^5 = 32 > 31 so stop at 2^4
1 1 1 1 1 = (16 + 8 + 4 + 2 +1 = 31) to get the sum 31 we have to add
so 5 1's so 5 times - 11 years agoHelpfull: Yes(6) No(4)
CTS Other Question