1. There are 50 balls, and you and your opponent take turns to take them. You should start first, get up to 6 balls each time, and get at least 1 ball, how can you ensure that you can get the last ball?
2. Two robots are initially located at different locations on the number axis. Enter the two robots into the same program so that they can meet each other. The program can only contain "shift n units left" and "shift n units right". If is a conditional judgment statement, while is a repeating statement, and two functions that return the Boolean value "at their own start point" and "at the other's start point ". You cannot use other variables or counters.
3. You must take one tablet a and one tablet B each day. This kind of medicine is very expensive and you don't want to waste anything. One day, you open the medicine bottle containing tablet a, pour out a tablet and put it in your hand; then open another medicine bottle, but accidentally pour out two pills. Now you have a tablet a and two tablet B in your hand, and you cannot tell which is a and which is B. How can you strictly follow the prescription to take pills without any waste?
4. There are three baskets of fruit. One basket is full of apples, the second basket is full of oranges, and the third basket is mixed with oranges and apples. Tags on the basket are deceptive. (For example, if the tags are orange, you can be sure that there are not only oranges in the basket, and there may be apples.) Your task is to take out one of the baskets, take only one fruit from it, and correctly write the labels for three baskets of fruit.
5, there are 7 grams, 2 grams of weight each, one balance, how to use these items three times to divide 140 grams of salt into 50, 90 grams each?
6. A census clerk asked a woman, "how many children are you and how old are you ?"
The woman replied, "I have three children. Their age is multiplied by 36, and the age is equal to the house number next to them. "The census clerk immediately went to the next room and looked at it. Then he came back and said," How much information do I need ." The woman replied, "I am very busy now. My biggest child is sleeping upstairs ." The census clerk said, "Thank you. I already know ."
Q: What is the age of the three children.
7. There are 25 horses with different speeds, but the speed of each horse is a fixed value. Currently, there are only five tracks and no timing is available, that is, each competition can only know the relative speed of up to five horses. Q: How many matches can I find the top 3 fastest among the 25 horses?
8. A disc is coated with black and white colors, each of which occupies a half circle. The disc rotates at an unknown speed in an unknown direction. You have a special camera that allows you to instantly observe the color of a dot on the circle. How many cameras do you need to determine the direction of the disc rotation?
9. You are on a ship. The computer on the ship has n processors. Suddenly, the spacecraft was attacked by an alien laser weapon, and some processors were damaged. You know that more than half of the processors are still good. You can ask one processor whether the other processor is good or bad. A good processor always tells the truth, and a bad processor always tells lies. Find a good processor with a N-2 inquiry.
Solutions:
It is difficult to come up with a fixed idea for a smart question. Just give an example and look for a rule.
1. Take one first, and if the opponent takes X, you will take 7-X. There are several ideas that can inspire us. 1) If you want to seek my own ideas for the last one, you have to get at least seven for the last time. 2) How can I determine how many I take? This should be determined by the number of opponents! 3) why 50? What is the relationship between 50 and 6 and 1?
2. This question is actually very easy ~ You can move them all in one direction, and there will always be a robot that will reach the starting point of the other. At this time, you can determine that another robot is in front of it, at this point, the robot can continue to move forward at twice the speed. The robot can also stop moving, and the other moves in the opposite direction.
3. Cut each of the three medicines on the hand into two halves and place them in two heaps. Take a tablet a and cut it into two halves. Then add the first half of a to each heap. Now, each heap of pills exactly contains two half-slices of A and two half-slices of B. Take a bunch of them a day. Breakthrough Point: medicine can be divided.
4. logical reasoning. Take out a fruit from the basket labeled with apple and orange. If it is an apple, it indicates that all the apples in the basket are apples. Then all the apples in the basket labeled with apple are oranges, the apples and oranges in the basket with orange labels. If one of the fruits is orange, it indicates that all the oranges are in the basket, then all the apples are in the basket with orange labels, apple and orange are contained in the basket labeled with Apple.
5,
6. Reasoning questions
36 = 1 × 2 × 2 × 3 × 3
All
1, 1, 36; sum = 38
1, 2, 18; sum = 21
1, 3, 12; sum = 16
1, 4, 9; sum = 14
1, 6, 6; sum = 13
2, 2, 9; sum = 13
2, 3, 6; sum = 11
3, 3, 4; sum = 10
Because the census taker knows the age and cannot determine the age of each child, the possibility is
1, 6, 6; sum = 13
2, 2, 9; sum = 13
Since the largest (implies only one largest) child is sleeping, it is only possible that
2, 2, 9; sum = 13
Brain hole open, smart question