Divide 1083(in whole increments)into a number of bags so that I can ask for any amount between1 and 1083,and you can giv

问题描述:

Divide 1083(in whole increments)into a number of bags so that I can ask for any amount between1 and 1083,and you can give me the proper amount by giving me a certain number of these bags without opening them.What is the minimum number of bags you will require?

计算机的二进制,就是这么来的
1,2,4,8,16,32,64,128,256,512,
1,2,4,8,16,29,
上边是1083
貌似要16个口袋呢