XXX University Program Design Competition, xxx University Design Competition

Source: Internet
Author: User

XXX University Program Design Competition, xxx University Design Competition

This is a small competition held by the primary school. It is mainly used for selection of the Blue Bridge cup.

Two and a half hours later, I am too lazy to search for questions on the Internet. I don't know if it's school originality. You can try it. I got 6 answers ......

1. There is a long step on xiyue Huashan. If each step spans 2 steps, the last step is 1. If each step spans 3 steps, the last step is 2. If each step spans 5 steps, level 4 is left at the end, and level 5 is left at the end if each step spans Level 6. The first order is only available at the end of every 7 steps. How many steps does this step have?

[Output]
Output The minimum order of this step.

2. If there is such a four-digit number, its 9 times is exactly the inverse number, and the number is obtained by programming. The so-called ordinal number is an integer formed by the number of integers. For example, the arc number of 1234 is 4321.

[Output]
Output the four-digit reverse order number.

3. The number 3025 has a unique nature: divide it into two segments, namely, 30 and 25, and sum it to calculate the square, that is, (30 + 25) 2, exactly equal to 3025. Program to obtain all four digits of this nature.

[Output]
Output all four digits with such properties.

4. The ending number of the square of a number is equal to the natural number of The number, which we call self-defense. For example:
25*25 = 625
76*76 = 5776
9376*9376 = 87909376
Calculate the number of self-defense within 200000 by programming.

[Output]
Output all self-defense numbers of less than 200000.

5. When I did a physics experiment at the Mathematics Institute, I accidentally broke a 40-pound weight into four parts. After weighing, we found that each part of the broken weight was a whole pound, and we also found that the four parts could be weighed between 1 and 40 lbs on the daily order. How many fragments are each counted?

[Output]
Output the weight of four fragments, which must be arranged in ascending order.

6. A represents the first five digits from 0 to 9, and Z represents the last five digits. Please program to restore the following multiplication formula.
A Z
×A A Z
-----
A
A Z
Z
-----
Z

[Output]
Output the specific numbers corresponding to the multiplication according to the above multiplication pattern line by line.

(PS: Editor problems. Please automatically align the azas on the first line with the AAZ on the second line)

7. Three computer majors in the 2012 level of the Computer Science Institute: One, two, and three students are dispatched to compete for a sprint. The first 9 points are required for a sprint, regardless of age, it scored 8 points for 2nd, and so on. The results of the competition were the same in the total score of each class. These students did not reach the final point at the same time, and none of the two or three students in the same class won the same rankings. It is known that the first class is the third class, and the second class is the second class. Ask the student in the last class?

[Output]
The first row outputs the scores of the three students in the first class (the scores are sorted from big to small );
The second row outputs the scores of the three students in the second class (the scores are sorted from big to small );
The third row outputs the scores of the three students in the third class (the scores are sorted from big to small );
The fourth row outputs the class number of the last student.

8. A teacher performs close-to-scene magic. 13 spades in a deck are arranged together in advance and face down. Said to students, "I don't watch cards. I can guess what each card is. I can count it out loud. Do you believe it? You can see. Instructor Jing sets the card number at the top to 1, turning it over to black peach A, placing black peach A on the table, and then counting the remaining cards from top to bottom in order, 2. Place the first card under the stacked card and turn the second card over. It is exactly peach 2 and it is also on the table, the third number is 1, 2, 3. Place the first two cards under the overlapping card in sequence, and the third card is exactly the peach 3. In this way, all 13 cards are displayed in sequence, which is accurate. How can I arrange the original order of cards in the hands of Mr. Jing?

[Output]
Output the original order of cards in the instructor's hand (using 1, 2, 3 ...... 10, 11, 12, and 13 represent 13 spades from small to big)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.