Session 7 ACM-Memories

Source: Internet
Author: User

This competition was actually two and a half months ago-April 29. After the competition that day, I wanted to write about the competition on that day. However, since the competition was completed that day, I rushed back home immediately. The five-hour competition was followed by a two-hour drive, the whole person felt very tired, so he did not write it down that day. This is why we are still suffering from procrastination ~~~

 

In fact, there is nothing to write about in this competition, but I have never participated in any competitions from small to large. It is rare to have the opportunity to participate in competitions in fields of interest to me, so I want to write down this very precious experience.

 

When I was a freshman, I asked myself to study the C language course of my book in the library. During the Asian Games in Guangzhou, I got the C language in front of my computer every day, then I liked C language and programming. Although there were many programming competitions in the freshman year: Computer Simulation competitions, C language programming competitions, and ACM, at that time, they were too good (and now they are very good ), so I joined the C language team with two friends, but I didn't even enter the finals. In the time after that game, on the way to programming, the more I learned, the more I deviated from my major, and then it became the four that were not like today. Well, write about this competition.

 

Five minutes before on October 11, April 29, I was a little anxious when I was downstairs at work because I was still on the road and started the competition in about five minutes. I don't want to be disqualified for being late. Fortunately, I think too much, even if I am late, it's okay. When I entered the stadium with a bar, the competition would start in about two minutes, but their seating arrangements were a bit strange. A lot of people, including me and the bar, could not touch the north. As a result, the competition started for about two minutes. I and I have not found any seats yet, and I started to feel a little annoyed. Fortunately, I was lucky enough to meet the requirements, quickly found the location to sit down (unfortunately, I still sat down wrong ).

 

Start the computer, open vc6.0 and create an in.txt file at the first time, and then log on to the website as provided before the podium. The website is still the original OJ website of the school, but after being connected, it only saw the question of the competition, and the original exercise Question of the website was not seen. I was planning to refer to the Code submitted by myself. However, the network may be changed to a LAN to prevent contestants from cheating. Well, let's take a rough look at each question and find that it is relatively simple to search for robots in the first question. It is a simple simulation question, so we decided to do it first. When I typed the code, my hands were still shaking. It took about 10 minutes to finish typing. Then I tested several groups of data in a few minutes and found that there was nothing wrong. I decided to submit it for a try. The result is an AC. Check the ranking, which is about 20. This time, the AC gives you a lot of confidence.
I'm team29 and team30. I read the bar sitting on my right. I don't know what he is doing, but I haven't started to submit it yet.

 

Then I looked at the second smallest difference, and it was not difficult to feel myself. I decided to do this. When I first wanted to write it, a contestant came over and I knew that I was sitting in another place .... Immediately return the location to someone else and use the computer on the right, that is, the computer where I was originally located. Continue with the second question. The code for the second question was quickly completed, because the question looked very simple, the code was not to be written, and there was no problem in testing a few sets of data, so I decided to submit it. Result Time
Limit Exceed! Strange: it is a simple question. How can I time out? I submitted it again and found it was also TLE. Let's look at the question. The original question was limited to 2 ms, and the input volume was large. SB. It turns out to be a technical question, which is not as simple as imagined. I submitted it multiple times in a random manner before, and the result was TLE. Well, I decided to stop and think about it. When I thought about it, the staff came to stick the balloon, and I felt a little happy. The participant on the left, that is, the master at the position just now, is also AC, and he also has a balloon. Then I continued to answer the second question. After thinking for a while, I thought about it. I went to check the list of submissions. Not many of them made this question. Most of them are TLE, the contestant on the left has not been made. He is team28 and I can see his submission record. In the ranking list, my ranking has been removed, and I will not remember the approximate number. Okay. I decided to give up this question for the moment and find another one.

 

Then I saw a more interesting question, Giroro's mine testing. I thought it was not difficult. I 'd like to try it first. It took some time to write the code. The test data given by the question passed, but the test data failed. Changed the code, passed the test data, and decided to submit. Result: Wrong Answer! Test several more groups of data, and the result is that there is really no data, and then find the code problem based on the data, change the code. After all the test data is passed, I decided to submit it again. The result is still WA! Write several more groups of test data, and once again find that the data cannot pass. After reading the data and analyzing the situation, I found it was much more complicated than I thought. Then I decided to try another solution. During this period, the contestant on the left had a second balloon. I immediately took a look at the submission list. He used to perform a rolling Ranking Demonstration. I checked the question and compared it with my current question, finding rankings is a simple and basic simulation question. So I decided to solve the ranking problem first. The question is not difficult. A small problem occurred during the test, Runtime.
Error, but it is not a problem. I will soon know that it is a problem with the lower mark. After testing a few groups of data, we decided to submit the data and the result was once again AC. Let's take a look at the rankings. My name has not risen much because there are many people who have made two questions. I spent most of my time on the question of mine. Let's take a look at which AC has a lot of resources. Who told me to stay up late. I checked it and found it a problem !! Missed ~~

 

So you don't have to think about it. write code, test, submit, and the result is WA! Strange! The question is very simple, but it is actually WA. After testing a few sets of data, there is no problem, the Code has not been changed, and then submit. Again WA! Do not understand, really do not understand, clearly is the simplest question, oneself is not AC ~~~ Then, N groups of test data were generated, and all the tests passed. Test, submit, WA, test, submit, WA... what's wrong? I did not think about it for a long time. As a result, I found a BUG using the fingers when testing a group of data !!! Shit turned out to be the problem. Change it now, submit it, and access the client ~~ It took a lot of time to answer this question, and there was about an hour left. I checked the ranking list and ranked 21 by myself.

 

After thinking about it, I decided to go back to the previous mine and do not do any new questions. The results were not made out of this question all the time...

At, the competition was over. Three questions were made only after 10 questions, and two rules were made. During the awards, I chatted with the contestant on the left and found that he was an immediate 11-level teacher and still in class 1. Why didn't I see this character at the exchange meeting between new and old students? At the meeting, a student asked the ACM team, but not him. Then I asked him how many questions he had made and answered four questions. This is a great teacher. Besides the 5 + teams of the ACM training team, there are also a few other teams that are not training teams, that is, his turn, his 4th question is mine. At first, I thought he was from the ACM training team. As a result, he was only an amateur. Last year's ACM freshman cup, he lost his hand, so he did not enter the school team. Then, two months later, the younger brother was even more surprised that he went to my roommate's lab for an interview. Haoge said that he told haoge that he had started playing MCU in junior high school !!! I asked him what books he was reading in C language and single-chip microcomputer, but I couldn't remember the answer. I have not read the data structure or introduction to algorithms. Hao did not let him enter the lab, because he thought it was a waste of such talents.

 

Finally, in the seventh ACM competition, I had a three-class competition, and I got a second-class competition. It is also worth mentioning that the ox xb, Link, and 310006497 people who often see on the school's OJ website also participated in this competition ~~

 

 

 

 

 

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.