Experience in participating in the eighth Blue Bridge cup, and participation in the eighth Blue Bridge cup

Source: Internet
Author: User

Experience in participating in the eighth Blue Bridge cup, and participation in the eighth Blue Bridge cup

I felt that this competition was not ideal. Maybe it was a bit anxious to enter the competition. After checking the information, I got my seat and was not prepared yet. Then I opened the browser and entered the website, at that time, I felt bored in the room. I was bored and didn't calm down. I didn't see the ID card number after I logged on to the webpage, after entering the first row of the student ID, the second row entered the decompressed password written by the teacher on the blackboard. At that time, I did not know how to enter the password twice consecutively, I found out where I entered the ID card number when I was looking for a teacher. At that time, I knew that I was annoyed and began to control myself. After my account was logged in, I downloaded the question and opened the question, this was smooth, but when I started the first question, I had a very simple question. At first I looked at the question and could use the computer on the computer, and then I calculated it one by one, then we started to calculate this method. When we calculated three sets of data, we found that many of them had lost errors. The first question was a total of 50 sets of data, so I knew that if I calculated it like this, there will certainly be some errors, and I don't know how to do it at the time. I saw that I was using word Table computing in the previous row. I still wanted to follow suit, and then I had some ideas, copy all data to the Compiler And then I changed all the text, and the half price was changed to 50, and the discount was followed by a zero value. even if this was not yet written, when I wrote the first time, I did not notice that there were two situations: Half price and discount. I changed the half price once, after thinking about the next question, I also entered an error when I saw the 0.9-fold input. After the calculation, I added a 0 value to all such examples, at this time, it is estimated that it has been more than half an hour. Then I started the second question, which is a prime number of the same-number series, and I want to find an equal-number series with a length of 10, at that time, the question was very simple and soon passed and relaxed a lot. Then, the third question was very clear. After the question was written, the minimum value and the question were incorrect. After reading the question several times, the question could not be found, I started to get bored again, but I went to the toilet once in the middle and felt much better. It was cool outside. I went out for a lap and woke up a lot. But I still don't know what's wrong with the third question, I felt that I had been stuck in this place for an hour. Although it was like putting him out, I gave up decisively and started the following questions, this is because I feel that I have used this question too much. The fourth question after that is a search question. I will give it a 6*6 square and divide it The two parts are different for distribution, because symmetric is a situation where I start searching from the 1.1 point, because the diagonal corner is definitely not divided into one part, in fact, when I was writing this question, I felt that this question was very difficult. At that time, I felt that there was a lot of pressure on the fourth question. I wrote this question code and I felt that some symmetrical situations were not taken into account, therefore, some debugging was conducted, during which it was found that although the search was used, the order of the search was different, but there are still many situations that are the same (not considering symmetry). I know that there are hundreds of duplicates, And then I created a one thousand struct, there is a situation in each struct, And then we use a four-repeating loop to remove duplicates, and the remaining 90 results are calculated. Then, because at the beginning, we started from (1.1, there are still mobile symmetry not considered, that is, the symmetry in the lower left corner and the upper right corner, because the lower left corner and the upper right corner correspond one by one, therefore, I feel that the final result should be half of the 90, that is, 45. This is the case. Then the five or six codes are left blank, this time, the blue bridge cup felt that the code was quite well written. These two questions should not be used up by half. The hour may be less than half an hour. The only question with a little doubt is the fifth question. The number of digits in his question does not know whether to move from left to right or from right to left, I don't know this, but it's too easy to start from right to left. All the words written from left to right are followed by the seventh question, which is a date question, this question should be regarded as a simple question. It didn't take long to write it out. But after writing it, I handed it in the Code and found that the question said that the date should be sorted, then, we will explain that the date is stored in a struct and sort is used to sort the sequence. Then, we find some data, such as 1/1/1. My program will output three situations, that is to say, I did not remove duplicates, and then I wrote it for a while. I felt that the code was okay. I checked the format and found that there was no problem and handed it in. Then there were eight and nine questions, after reading the eight questions, I felt that there were many things to consider for this question. When I looked at the 89 questions again, there was more than an hour left at this time, and I felt that the eight questions were a little difficult, I have read nine questions again. I feel that 9 questions are a little simpler than 8 questions. So I wrote 9 questions first. According to my ideas, a lot of data has passed, but still do not dare to code No, I want to answer the eight questions. At that time, I read the time, and I started to write eight questions, the main problem encountered in this question is that I don't know where to calculate it in total, and there is no clever way to solve it. So, only the brute force, then I started to solve the problem and finally wrote it out, I also tested a lot of data and had no problem. Then I handed it over. At that time, I felt that there may be some situations that I didn't take into account. All the data that I had been testing for eight questions since then, in the end, I couldn't test the problem in ten minutes. I took a glance at the problem and thought it should be very difficult, and the time was not enough. So I did not check it directly, after reading the above three questions, even though I have not found a correct cut, the competition will end. Now, I have seen some people say that the ten questions are very simple, and I have also read them, it's a pity that there are no eight or nine questions. The competition is over, and it's impossible to submit any regrets. In general, it's hard to start at the beginning, I am not sure about the time in the middle and have not calmed down. Please pay attention to it next time. I hope a good result will come out this time ~~~ As long as you don't want to be miserable .......

Related Article

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.