The king encountered a problem: a tourist went to a hotel to stay, and his wallet was accidentally stolen, and he was going to take his gold bracelet (pictured) as collateral. Because gold bracelets are very precious things, when sawing, the number of sawing must be less. Q: If you hand in one copy a day, how many times do you have to read it at least?
Max thought for a moment and said, "Just once is enough. On the first day, I saw the third ring from the left and handed in the first ring; The next day, hand in the first ring and the second ring, and change to the third ring; Hand in the third ring on the third day; On the fourth day, pay four to seven rings and change one to three rings; Hand in the third ring on the fifth day; On the sixth day, hand in the first ring and the second ring, and change to the third ring; Pay the third ring on the seventh day. " Hearing this, the king and ministers applauded repeatedly and immediately ordered Max to be a warrior.
Max knows that the Mathematical Magic Castle has 998 1 floor. If he doesn't prepare some dry food, he will starve to death. So Max went to a small shop selling fried eggs to buy fried eggs. When he arrived at the store, Mase told his boss that he was a talkative man. He said, "if you can answer me a question, I can send you all the fried eggs and take you to the last floor of the magic castle of mathematics." Today, the old cow came to me to buy half-fried eggs, and the little pig came to me to buy half-fried eggs. Now I have three fried eggs. Q, how many fried eggs did I eat? "
Max thought, you can only buy one. Where did you get half? But then he didn't know. Originally, just follow the common algorithm (3+0.5) × 2+0.5 × 2 = 15 (pieces). Let's check: the old cow bought half (7.5) plus 0.5 (8), the little pig bought half (3.5) plus 0.5 (4), and finally 15-(8+4) = 3 (4), so that's right.
Max reported the answer, and the shopkeeper quickly fried eggs for him and took him to the top floor.
Arriving at the top floor, a huge monster said to Mase, "There are three doors in front (as shown in the picture), and each door has a sign. Only one is wrong, and the wrong one is the real entrance. I will give you a chance, choose the right door, and I will let you in; Wrong, don't blame me for being rude. "
Max thought for a moment and said, "If the first sentence lies and says' I am the real entrance', then the last two sentences are consistent and possible; If the second one is a lie, the sentence "the third one is the real entrance" is completely inconsistent and should be ruled out; If the third one is lying, say' The first one is telling the truth', which is inconsistent with the second one. Therefore, the answer can only be the first door. " Said and walked in, only to find that there was only a piece of paper that read:
Congratulations on your success. Although there is no treasure in it, you have passed so many tests and become very smart.
Max went back to the palace and told the king. The king thought Max had lost, so he sent nine soldiers (1, 2, 3, 4, 5, 6, 7, 8, 9) to catch Max, and two friends of Max (0 and 1) also came to help. Max made them synthesize 10, and beat the king's army out of the water. The greedy king was driven off the stage and dealt with by law. The brave Max became king and was loved by the people.