First to analyze:
First time: 150Second time: 150/4 = 37 2Third time: (37+2)/4 = 9 3Fourth time: (9 + 3)/4 = 3
3
Initial value 150 bottle of water, which is 150 caps1. Take all the lids to change the water, record the remainder and sum2. (last remainder + last change of water to
I hope we can reprint each other, so that more people know this hidden danger, everyone healthy life!A 12-year-old girl in the UAE who had cancer because she had been using the same mineral water bottle for 16 consecutive months. The bottle contains a plastic material called pet that is safe to use once, and if you reuse it for thrift or convenience, there is a c
best water quality.④ a big mouth to drink, is equal to not drink. ----Here again, because it's very important!: Water is to replenish the body's need for moisture, the purpose is to nourish the organs , good to cooperate with their normal operation. water is for the sake of
Water bottleTime limit (Common/Java): 1000 ms/3000 Ms running memory limit: 65536 Kbyte total submission: 238 tested: 156
Description
There is such a smart question: "A store stipulates that three empty water bottles can be changed to a bottle of soda. John has ten empty water
Problem description
There is such a smart question: "A store stipulates that three empty water bottles can be changed to a bottle of soda. John has ten empty water bottles on her hand. How many bottles of soda can she change ?" The answer is 5 bottles. The method is as follows: first use 9 empty bottles for 3
In fact, the original is said to be 10 mice, considering a number of bioethics, small Shigo it into 10 ants, but the ant is also life. In fact, not so serious, it is not really to do this thing.In particular, there are 1000 bottles of water, one of which is poisonous, the ants drink poisonous water after a week of death, now give you 10 ants, and a week's time, y
A 12-year-old girl in UAE has cancer because she has been using the same mineral water bottle for sixteen consecutive months. The bottle contains a plastic material called PET, which is safe to use at one time. If you reuse it for thrift or convenience, there will be a cancer crisis.
The bottom of the mineral water
Reprinted from: http://blog.csdn.net/zzran/article/details/8083386
The full text is as follows:
This is the application of bit, 1000 is close to 1024, so 10 bit bits are required to number the bottle, from 0 to 999. In this case, 10 mice are required. The bottle numbers are:
000,00000
00000,00001
000,00010,
000,00101
00000,00111
......
11111,00111
At the same time, give the mouse number, starting from 1,
Although there are free cola, Sprite, fenda...
After some crazy drinking, I drank four sprite bottles at most once a day (one bottle was bought at night)
The current small belly is getting bigger and bigger, and the buckle is getting harder and harder to buckle...
Finally, I made a painful and wise decision. In the future, I will only drink pure water in the c
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.