play like marriage

Chapter 6 Rematch

When several children chose the restaurant, Wen Muchen silently sipped the beer in his glass. These children were so noisy that he had a headache, but luckily the food diverted his attention.

After one meal, everyone was full. Naturally, Wen Muchen would not limit what they could order or not. Although this world is slightly different from the original world, the traditional food for thousands of years has not changed. Wen Muchen, whose taste buds have been greatly satisfied, is much more pleasing to the eyes of these noisy children.

Wen Muchen didn't talk much, and he mainly listened while eating. At the beginning, the children were very reserved, but after realizing that Wen Muchen was not as indifferent as they imagined, he became bolder. How he usually eats and plays now Just how to eat and how to play, is also active.

Wen Muchen can only envy such vitality.

After the meal, Wen Muchen knew the names of the three classmates except Cheng Yong. The thin young man with acne on his face was called Chen Yueli, the slightly fat young man nicknamed Big Fat was called Sun Yangyuan, and the other was tall and handsome. Lu Shengjun, a boy from the north, the four of them almost wanted to make a fuss about ordering hot pot when they got together. The boss kept looking at them while they were eating and making a fuss.

When paying the bill, the boss sighed to Wen Muchen: "You young people are full of energy."

Wen Muchen: "Yes."

It didn't cost much for a meal, and Wen Muchen didn't feel bad. He checked his card, and the money in it was enough for him to spend for a while.

Wen Muchen will also consider developing small games to make money after the Hengmei Group's competition, but he hasn't figured it out yet. How to make money, there are paid games, it depends on whether the players are willing to pay for your game.

Attractiveness and innovation are both necessary. If he wants to develop large-scale games based on his personal ability, it will definitely not work. For small games, he needs a platform to release them, and it must be a large platform.

Hengmei Group is also developing games, but is it possible for them to directly take a fancy to his ability? No matter how you look at it, the possibility is very small, and it seems that it has to be considered in the long run.

There was no class in the afternoon, and the children went back to school for a nap. Wen Muchen said goodbye to them, and walked towards the subway by himself.

After drinking a few glasses of beer at noon, Wen Muchen could feel his body warm under the influence of alcohol, and he didn't feel cold when the cold wind blew, which was very good.

In the next week, Wen Muchen still lived in his original way, going to bed early and getting up early, and had three normal meals.

In the class, the relationship with Cheng Yong and the others is also good. Although they haven't reached the point where they can help each other with meals, Wen Muchen will occasionally occupy their seats for them in class on weekdays. The job was left to him.

Wen Muchen felt that these children could simply make friends, so he did it easily, but when he came late, they would also reserve a place for him next to him, and the friendship between these young people was formed subtly. Yes, happy to hear.

Wen Muchen became more and more approachable, and the frequency of being mentioned in the class also increased. Even the counselor knew that he was going to participate in the rematch of the programming competition on Saturday, and went to the class to find him on Friday afternoon and asked him to come to the office conversation.

In college, the counselors only care about the students’ living conditions occasionally. They don’t know the students’ families deeply, unless some students’ families are really too difficult and need help. suggestion.

Their counselor didn't know much about Wen Muchen, only that the child was too silent and difficult to integrate into the group. Now that he has changed, as the counselor of their class, he is still very relieved, at least the child No regrets until you leave school.

I have to say that this counselor thought a lot. After Wen Muchen was called to the office, he was forced to listen to a lot of words of reason and encouragement.After listening for nearly half an hour, he was released. After coming out of the counselor's office, Wen Muchen met Cheng Yong's roommate, Lu Shengjun, who was also the class leader of their class.

Wen Muchen didn't see anyone at first, but it was Lu Shengjun who called him: "Wen Muchen, are you going back?"

Turning around, Wen Muchen saw Lu Shengjun, and he replied, "Yes."

Lu Shengjun didn't stop him, but said to him: "Tomorrow's rematch, come on."

Wen Muchen replied calmly, "Thank you."

After finishing speaking, Lu Shengjun smiled and said, "Don't embarrass the brothers, you must enter the final."

Cheng Yong also entered the semi-finals, but now he has been forced by his roommate to read every day, so he has no time to say this to Wen Muchen.

Wen Muchen nodded to show that he knew.

After leaving school, Wen Muchen went home directly. In order to prepare for tomorrow's game, Wen Muchen went back to the nearby small vegetable market to buy a la carte, and went home at night to solve the problem of dinner by himself, making a simple home-cooked meal to fill his stomach.

The competition starts on time at [-]:[-] p.m. on the competition platform. The duration of the competition is three hours. You must answer the questions within three hours and submit the answers. You can check the platform system score before submission, and you can modify it according to the score There is no limit to the number of answers, but if you don't submit an answer within three hours, you will get zero points, and naturally you will miss the final.

Wen Muchen began to click on the topic of the rematch and read it carefully. Even someone who has experienced it like him will be nervous when facing the game.

The topic is to write a program about solving the "Eight Queens" problem. Similarly, this topic is very familiar to him.

The eight queens problem is an old and well-known problem, and it is a typical case of backtracking algorithm.

Its basic requirements are as follows: 8 objects are placed on an 8*8 matrix, and only one object is allowed to be placed at a matrix point. Any two points cannot be on a row or a column, and cannot be on a left-slanted line. line, and of course it cannot be on a right slash.

The eight queens problem was first proposed by international chess player Max Bethel in 1848.After that, mathematicians successively studied it, including Gauss and Cantor, and extended it to a more general n-queens placement problem.Ezgdijstra used this problem as an example in 1972 to illustrate what he called the power of structured programming.

The Eight Queens problem appeared in the famous video game The Seventh Visitor in the early 1990s, as well as the famous video game Professor Layton on the NDS platform and "The Incredible Town", which is a Nintendo DS game. Smart adventure game.

To solve this problem, you can use C language or JavaA language to solve the problem. There are many other ways to calculate, but Wen Muchen chose C language in the end, mainly in order not to make himself look too special. He has heard this sentence a lot, and others will always be jealous if it is too eye-catching.

For ordinary programmers, when they first saw this topic, their first impression was traversal, but after practice, they found that traversal is actually not easy to write, and the complexity is very low.Not only does it need to traverse the data multiple times, but it also needs to judge various conditions, and the actual computational complexity is even higher than this.

However, Wen Muchen read the questions twice, and after confirming that he had understood correctly, he entered the most standard textbook answers into the competition platform.After answering, Wen Muchen was still thinking about why the questions he saw were so classic every time, and these classic questions happened to be typical programming cases he knew.

Before submitting the answer, Wen Muchen had read the scoring on the competition platform. He had no objection to the scoring and submitted the answer directly.

It only lasted 15 minutes, and Wen Muchen intentionally procrastinated. He believed that someone would submit the answer sooner. After all, this question is too classic. Anyone who knows it can answer it. I hope he is quite satisfactory. The answer can pass.

Under normal circumstances, it takes 5 minutes to solve this problem for those who can do it, but it takes more than 10 minutes for those who can't.

However, after Wen Muchen submitted the answer, he didn't know the reaction of the backstage administrator of the competition platform after seeing his submission of the answer.

A man with big black-rimmed glasses hanging from the bridge of his nose slapped the table fiercely: "Fuck, someone submitted an answer, and it's only been 15 minutes!"

Everyone in the office looked at him silently, and someone shook his head and said, "The questions we selected this time are all selected one in a million, so the person who submitted the answer must have given up answering."

The man with black-rimmed glasses clicked on the management system to score the contestants in the backstage, and he said excitedly: "No, his score, his score is very high, it must not be a fault of my scoring platform!"

The man in the seat next to the man in the black frame came to his desk and said, "Let me see, too, what is the reason for what he did, and you click on the answer he wrote."

The black-framed man said: "It should be the 'Eight Queens'."

After a while, the colleague next to the black-framed man also shouted: "Fuck, this man is too cruel, who is it, look at his name!"

Gradually, the personnel in charge of the program design of the platform for this competition all crowded in front of the desk of the man in the black frame. open.

His name is Wen Muchen.

Half an hour later, people submitted answers and corresponding scores one after another. The startled nerds quickly put away their amazed expressions, and they all wondered how much it would cost them to answer this question if they were also in the competition. For a long time, the answer was no solution.

The man standing behind them who hadn't spoken in the office suddenly said, "Let this Wen Muchen go directly to the final."

The startled black-framed man said, "Yes, boss."

The man glanced at the name on his computer screen, suddenly looking forward to seeing this young man.

The rematch will determine 50 people to participate in the final three weeks later. Wen Muchen, who has no idea that he has entered the final, is still debating whether to water the potted plants he just bought.

The tension is over, the Western programs in this world are not so deep, unlike his world, no matter where you are before or after Christmas, you can see Christmas trees and Santa Claus that symbolize the coming of Christmas.

After feeling overwhelmed, Wen Muchen turned his gaze back to the computer, searched for the most popular communication software on the Wandu search engine, and then he added four people including Cheng Yong and Lu Shengjun.

Then, he was pulled into the chat group of their class.

A private chat message popped up in the lower right corner of the computer, it was Lu Shengjun.

Lu Shengjun asked him: Isn't the rematch three hours?You are done! ?

Wen Muchen replied to him: yes.

Lu Shengjun replied to him again: But Cheng Yong is still working on the questions, you are lying to me, did you think the questions were too difficult and gave up the game!

Wen Muchen glanced at the other party and didn't reply. He got up and went to the kitchen to pour a cup of hot water.

When he came back, he found that the chat interface between him and Lu Shengjun had a lot of emoticons, the most exaggerated one was a woman dressed in ancient costume crying: I can't do it!

Ten minutes later, Wen Muchen replied to him: ...

He decided to chat less with his classmates in the future, the pictures sent by these children are really boring.

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like