JustPlay: A Journey Through the Huawei Cup Programming Competition
Have you ever found yourself in a situation where you stumbled upon something unexpectedly, and it turned out to be a life-changing experience? That’s exactly what happened to me when I decided to participate in the Huawei Cup Programming Competition. It all started with a simple invitation from a friend, and little did I know, it would lead me on an unforgettable journey.
The Initial Challenge: The Programming Round
The competition began with a round of programming challenges, a total of ten questions labeled from A to J. Initially, I was skeptical about my ability to tackle these problems, as I wasn’t particularly skilled in algorithms. However, my friend瀹佸摜 convinced me to give it a shot, and so we formed a team.
The first problem, labeled C, seemed relatively straightforward, and I set to work on it. After an hour of intense coding, I finally managed to come up with a solution. Unfortunately, when I submitted it, I was informed that I had exceeded the time limit. Frustrated, I spent another half-hour trying to optimize my code but to no avail. I then shifted my focus to the first and last problems, as many teams had already solved them. After an hour of hard work, we successfully completed these two problems. As we checked the leaderboard, we noticed that our team had solved problems G and F, so we decided to focus on G. After another hour, we submitted our solution, only to find out that it was incorrect. Despite our efforts, we couldn’t figure out the issue, and we had to move on. We spent the remaining time trying to solve problem F, but we couldn’t make any progress. In the end, we left the competition with a rank of 20.
The Best Part: The Balloons
One of the most enjoyable aspects of the competition was the fact that every time we solved a problem, a staff member would come over and give us a balloon. Our team was seated at the edge of the room, and every time we received a balloon, we accidentally triggered the power switch for the computers in our row. As a result, our entire row would go dark twice. It was quite amusing, and we even had a moment where one of our team members, 榄忛箯, had almost finished his program, only to have it deleted accidentally. It was a frustrating experience, but we couldn’t help but laugh about it later.
The Initial Results: A Rank of 12
After the first round of the competition, we received our results, and to our surprise, we ranked 12th. Initially, we had focused on problem C, which turned out to be the most difficult one. We were happy to have managed to solve it within the time limit. However, we were disappointed to learn that the top 11 teams would receive prizes. Determined not to settle for less, I decided to move on to the next round of the competition.
The Second Round: The Snake Game
After the first round, I decided to focus on the second round of the competition, which involved developing a snake game. I had only four days to complete the task, and I was determined to do my best. I spent the entire week working on the game, often staying up until midnight. I even skipped a physics class to work on the game. However, I made a mistake in my approach, and I couldn’t reach the desired level of performance.
The Final Thoughts
Participating in the Huawei Cup Programming Competition was an incredible experience. It taught me a lot about teamwork, perseverance, and the importance of not giving up. Although we didn’t win any prizes, I believe that the journey itself was a valuable lesson. I am grateful for the opportunity to have been a part of this competition and for the memories that I created along the way.
Problem | Difficulty | Time Spent | Result |
---|---|---|---|
C | High | 1 hour | Incorrect |
A | Low | 1 hour | Solved |
J |
Scroll to Top
|