-
1.A newborn heifer can give birth to a heifer after 4 years, and one every year thereafter. The first to be born.
After the first 4 years, a heifer was born, and every year thereafter. Ask how many mothers there will be in 100 years.
Cattle? 2.There were three people who went to live in a hotel, and lived in three rooms, each room was $10, so they paid the boss a total of $30, and the next day, the boss felt that the three rooms only needed $25 was enough, so he asked the younger brother to return $5 to the three guests, who knew that the younger brother was greedy, and only returned $1 per person, and secretly took $2, which was equivalent to the three guests each spent nine yuan, so the three of them spent a total of $27, plus the younger brother swallowed not $2, a total of $29.
But the three of them paid a total of $30, so what about $1?
3..It takes a total of 1 hour to burn an uneven rope from beginning to end. Now there are several pieces of rope of the same material, and I ask how to use the method of burning rope to time an hour and fifteen minutes.
4.You have a bucket of jelly in which there are yellow, green, and red, close your eyes and grab two of the same color. How many can you grab to determine that you must have two jellies of the same color?
6.A fork in the road leads to the nation of honesty and the nation of lies. Two men came, and it was known that one was of the honest nation and the other was of the lying nation.
The honest nation will always tell the truth, and the lying nation will always tell lies. Now you're going to lie and don't know which way to go, you need to ask these two people. How should I ask?
Hehe, there are difficult and easy.
-
I'm also a beginner. A few days ago I wrote a program for a calculator. You try it too.
form:text calculator.
16 buttons btn1, 2, 3, 4, 5, 6, 7, 8, 9, 0, ., .,,=,+,/
a textbox
Try. I'll send you my program if I can. There are still some unsatisfactory places in it. Progress together.
-
c For this! Why don't you take him to the web form or the win form......
-
Take the five-digit numbers of 100 million digits respectively, and then judge whether the single digit and the 10,000 digits, and the 10,000 digits are equal.
The first blank num 10% 10 takes the number on the ten digits.
The second blank is num 100% 10 to take the number on the hundreds.
The third blank num 1000% 10 takes the number in the thousands.
The fourth blank is num 10,000 to take the number on the 10,000 digit.
The fifth blank a==e &&b==d determines whether the digits of single and 10,000, and the numbers of 10,000 and 1,000 are equal.
The complete C procedure is as follows.
Learning methods vary from person to person, there is no universal version of learning methods, and only you can find a learning method that suits you, others can't give you, even if you are told the so-called method, but the vast majority of them are not suitable for you, it will not help you at all, and will only let you waste time in these so-called methods. But there is a way to learn, but the method must be your own summary. It's hard to find what works for you. >>>More
English learning mainly introduces how to learn English, precautions, etc. Learning English is all about perseverance, finding a method that suits you, and using more and more history. The process of English learning is a comprehensive mental activity process of observation, simulation, recognition, recognition, thinking, and memory. >>>More
I love badminton very much. In recent years, I have been running in various badminton halls in Beijing almost every day, going to various amateur competitions all over the country every once in a while, and often going to other places to communicate with my friends. Playing badminton has allowed me to make a lot of good friends. >>>More
The joy of learning itself:
1.Satisfy the thirst for knowledge and curiosity. >>>More
Delphi is a complete visual programming, belongs to a high-level language, the main feature is that it is more convenient to program databases, and the development speed is very fast, and C++, belongs to the high-level language and the underlying language, the main direction is games, embedded, of course, many large software is also developed with C++... >>>More