Today, when I was in WC, I wanted to use my cell phone to see the real Internet,
When an error occurs, ucweb provides a small question. Then I thought about and found a small rule for solving such questions.
------------------------------------------------------------------------------
A small question:
If you ask a worker to work for you for seven days, the return is a gold bar, which is evenly divided into seven connected segments. You must give them at the end of each day.
Segment. If you are only allowed to break the gold bars twice, how do you pay your workers?
From the question, we can see that you have to give a piece to the workers on the first day. There is only one way to cut the question. Is to cut it into 1 and 6 segments.
. There is no other method. (This is required ).
Do you want to give two paragraphs to your worker the next day. At this time. There are only two ways to give it another 1 segment, or give it a 2 segment, put
Change the value of Segment 1. Simply put, if you give it another segment, it will become 1 1 5 and there will be no way to give it on the third day (it must not be like this)
You can only select the second solution.
Because the problem has been resolved, you do not need to verify the following to be OK.