I can't hide it from everyone!

Chapter 39 Simplifying Code

Chapter 39 Simplifying Code
Twenty minutes passed. Du Yun looked at the forest ice and fire man who still hadn't cleared the level. He was so angry that he almost wanted to smash the computer.

I haven't played computer for so many years, can even a game that doesn't need to be operated like Forest Ice Fire Man be able to torture and kill myself? !
"The time is up, if there are any students who have solved the problem, please raise your hand and let me see."

The whole day today is Wang Luohua's teaching time, and giving students plenty of time to solve problems has always been his teaching philosophy.

But 10 minutes is long enough to solve the problem.

But when he shouted these words, only a few people raised their hands.

This is also within Wang Luohua's expectations. The first time he comes into contact with such things as codes, it is considered a talent to write a program that can run. If a novice can write this difficult code, it is enough to conclude that the novice genius.

Wang Luohua looked at the codes of a few people and frowned slightly. It was obvious that he was not satisfied with the codes of these people.

As he thought, the code is a bit difficult this time, and it is almost impossible to write it all at once.

It seems that the students in this class are not as talented as they imagined.

"Students, don't be discouraged. It's normal for the code to be poorly written or not written out. Not everyone can succeed in writing code for the first time."

"Don't talk about it, teacher. It's useless. It's useless. Can you stop wasting our time? The future of computer research can be left to us. There is no need for students who can only solve problems."

Just when Wang Luohua was about to comfort Sun Gongli and other students, the gold medal student next to him suddenly spoke.

Just pour cold water on everyone.

It is not very harmful and extremely insulting.

The students at the summer camp activities are annoyed.

"What are you pretending?! Don't you just learn a few years more than us? As for being so arrogant?!"

One of the students shouted that as they said, these gold medal winners are probably just a few years more study time than them. If they are given enough study time, whoever will become the gold medal winner !
"Just a few more years of study?"

The gold award students laughed instead of anger.

"You were tired of solving these questions when I was in junior high school. Do you really think that the difference between me and you lies in these few years?"

"When I saw this question for the first time back then, I used three solutions and successfully realized it with code. The teacher's correct answer was written by me."

After speaking, everyone's eyes were on Wang Luohua.

Wang Luohua nodded helplessly. Just like what the gold medal classmate said, this student has a decisive talent in computers. When he participated in the computer competition, Wang Luohua had already taken a fancy to him!

Comparing this computer genius with these people in front of him is a dimensionality reduction blow.

"Do you know how good you are? Teacher, I don't want to waste time communicating with these people. Can I let them go back?"

Every word of the gold medal students makes people feel angry, but in the end they can only be incompetent and furious. The huge strength lies here, what effect can anger have?

Even Wang Luohua didn't expect his student to speak so aggressively.

"Tao Fei, we are all classmates, don't speak so aggressively, get along well."

Wang Luohua advised that he is a very talented student, but his EQ is a bit low, and he still has a kind of arrogant arrogance.

For a genius, it is good to have one's own pride, but it is absolutely impossible to become arrogant!
There are people beyond people, and there is a sky beyond the sky. If he is so arrogant, he will be defeated by the people beyond the sky after he grows up. It is very likely that he will be devastated and fall to the bottom, but who can hold him down now?
Before Zhou Shuhua came here, she had heard that this young man's attitude might be very arrogant, but she didn't expect it to reach this point.

Neither beating nor scolding.

"Teacher Zhou Shuhua, how about today..."

Wang Luohua walked up to Zhou Shuhua and wanted to cancel today's study plan, and we'll talk about everything when we go back.

At this moment, a pair of hands were raised.

"Are you sure no one will? Will you solve this problem just because you saw it for the first time? Coincidentally, I will too. The teacher can come and see the code I wrote."

Just because Du Yun doesn't like to make trouble doesn't mean he doesn't dare to make trouble. Since you dare to provoke, I will play with you!He is also an emotional person, and if he doesn't fight back when he is belittled like this, then what kind of man is he?

Everyone was shocked by Du Yun's speech, even Zhou Shuhua was shocked. Doesn't this guy usually not want to stand out?Why are you suddenly showing up now? I'm a little surprised that you are so proactive.

Tao Fei couldn't help laughing when he heard what Du Yun said after raising his hand.

"Don't slap your face like a fat man, do you really think that the answer expressed by those hundreds of lines of code can be compared with the dozens of lines of code I wrote back then? Take back your words now, and I can pretend that I didn't hear it."

Even Wang Luohua wanted Du Yun to take back his words. Tao Fei is a rare genius, no matter how good Du Yun is, he can't surpass Tao Fei, unless he can continue to simplify the code of this question by a few lines.

But this difficulty, can Wang Luohua not understand?

Even when he looked at the code, he didn't know where to start.

There is room for simplification, but it takes a lot of time. It is unnecessary to spend a lot of time on this topic.

"Student, there is no room for simplification in this question, let's forget it, I will not read your answer to this question."

From the bottom of his heart, Wang Luohua didn't believe that Du Yun could simplify the code of this question, it was too difficult.

"It's okay, Mr. Wang, go and have a look, I trust my students."

Wang Luohua was the first to stand up to speak for Du Yun, and asked Wang Luohua to answer the question. You must know that Du Yun is a once-in-a-century genius in mathematics. Computers are just a branch of mathematics. With the talent of this genius, maybe he can really solve this problem. The answers to the questions are simplified.

Du Yun can always surprise everyone, which is the consensus of everyone in the summer camp.

Now, they chose to believe in Du Yun.

Since Zhou Shuhua said so, Wang Luohua has no reason to refuse even if he himself does not really believe that Du Yun can solve the correct answer.

Not to mention the streamlined formula crushing Tao Fei.

"It's just a clown."

Tao Fei said disdainfully, but he was willing to spend time arguing with this guy. He was looking forward to Du Yun's expression after his answer was denied by the teacher.

Wang Luohua walked in front of Du Yun for a few minutes, almost looking at the code in front of him, his expression changed from helpless to normal and then to solemn!

"Teacher, don't read the code is too long, it's a waste of time, it's better to study and research if you have this time to read the waste code."

Tao Fei disdainful, spread his hands and smiled.

"Are you sure this was written by you?! This is impossible!"

Wang Luohua was shocked and stared at the code in front of him. The number of lines in this code was a few lines less than his own minimal code!
Don't underestimate these lines.

These few lines are like sprinting 100 meters. You run for 20 seconds at the beginning, but after training for a long time, you can break through 15 seconds, 13 seconds, an improvement of five seconds, seven seconds, but what next?Next, if you can improve by three seconds and break through ten seconds, you will have a chance to win the Olympic gold medal!
And the simplification of these few lines of code is the ultimate breakthrough!
And Du Yun did it!

(End of this chapter)

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

You'll Also Like