host brain pain

Chapter 14 Because, I...

Chapter 14 Because, I...

On the screen, there is only one line of bold words in Song Dynasty No. 3:
Please use assembly language to write a program that consumes hardware resources as much as possible.

The topic is concise and the language is simple. Basically, college students who have studied assembly can understand what the program does.

It is more complicated to describe in professional language. In layman's terms, it is actually——

If you don’t accept it, run for a point.

Some young people who have read online guides and know how to use a little computer like to use a software called Lu Dashi to test the performance of the computer when they go to the computer city to buy a computer.

There is an integrated hardware benchmarking program in this software.

Now this practical problem is similar to this kind of hardware running score program in a broad sense, but the requirements are much simpler, and only need to consume hardware resources as much as possible.

After all, it is just a student quiz work.

The corners of Su Xiaomu's mouth rose slightly. For him, this topic was too simple!
15 minutes didn't make it up, he ate the screen.

It's a bit crazy to say that, 8 minutes!

The other nine people in the classroom tapped the keyboard lightly, or clicked the mouse, or worked hard, or scratched their ears.

All of this feeling has nothing to do with him, Su Xiaomu.

The slender fingers are placed on the keyboard, and they tap lightly and coquettishly to make a rhythmic sound, which is not harsh and enthusiastic.

Professor Zhang Ke, who was about to take a nap on the stage, suddenly regained his energy.

It's been a while since I heard such a rhythmic sound.

Professor Zhang Ke walked behind Su Xiaomu with a thermos cup in his hand, watching Su Xiaomu's slender fingers dancing in a coquettish rhythm, thinking in his heart,

"I was probably so handsome when I was young!"

Squinting his eyes, he took a sip of the wolfberry and red date water in the cup, let out a sigh of satisfaction, and pushed the rimless glasses on the bridge of his nose. A word was reflected on the thick lenses:
amazing!

Ok?
what? !!
Professor Zhang Ke was stunned for a moment, he clearly remembered that the scoring standard of amazing was a bad taste that he added on his own whim.

The practical operation can generally be passed. After all, there are two hours, and different scores are given according to the feedback results of different programs.

There are two failed results: RTE and CE; program running error and compilation error respectively.

The lowest grade after that is AC, Pass.

Then there are good, perfect and bad taste amazing.

Good, perfect, amazing!

The three different ratings represent three completely different degrees of excellence when the program is running, and the gap between them is about one full-English innovation class in computer science.

Zhang Ke was stunned.

I just took a sip of water, as for so fast?
When I was young...

I now……

Forget it, don't ride a horse!

Su Xiaomu shook his hand with satisfaction, 7 minutes and 21 seconds, not bad!

Just as I was about to pack my things, I heard a calm middle-aged male voice behind me, "Student Su, can you show me the source code of the program."

Zhang Ke knows Su Xiaomu's name. The reason is very simple. Su Xiaomu is so outstanding!
Su Xiaomu was almost startled by the sudden sound, turned around and saw Professor Zhang Ke who was holding a thermos cup with a smile on his face, and nodded subconsciously.

Su Xiaomu clicked on the source code file, got up and stood aside, and gave up his seat.

Having had the experience of writing 64K demos and the binary basis provided by the system, Su Xiaomu subconsciously chose minimalist programming after having a deep understanding of it.

The number of lines of code is exactly 69 lines, a rather wonderful number.

It consumes all the hardware resources as much as possible, including the standard 4G memory and 1G graphics card resources used in the upper computer room, all of which are completely consumed by the running of the program. At the same time, the speed of the standard 7200-speed ordinary mechanical hard disk is also fully utilized. to the extreme...

"Not bad! Very good! Student Su, you are such a genius! The code should be like this, elegant and wonderful!!"

Professor Zhang Ke was a little excited, and his voice increased by more than 10 hertz.

Swish!
Nine pairs of eyes stared over.

Can you let us have a good test!

What the hell did I just think of?
forget!grass!

Heh, Su Xiaomu, it's you again!
It’s amazing to be handsome, it’s amazing to solve the questions quickly, it’s amazing to have excellent code, and the professor’s praise is amazing?
MMP!

Really amazing!
They who are also academic masters shed uneducated tears!

The most uncomfortable thing is that what we hear is, code! ! !

MMP!

We haven't even finished the written test, you've already finished the practical exercises, you don't know wait for others, you damn ghost!

Professor Zhang Ke realized that he was a little excited and quickly lowered his voice, "Student Su, please go back first."

Su Xiaomu smiled and said, "Goodbye, Professor."

…………

…………

It took less than 1 hour and 30 minutes to complete the planned four-hour written test + practical operation. Su Xiaomu looked at the time and saw that it was less than 9:30. He turned around and clicked on the errand order on his mobile phone.

On weekends, people living in the city are busier, and more people need to run errands.

Su Xiaomu can also receive more orders and save more money.

There is an old saying that Su Xiaomu always remembers:
Add up.

You can't give up this big deal of 1 yuan per order just because there may be a bonus of 20 yuan!

Before lunch, Su Xiaomu rushed back to school. Not every errand could be fun, and most of the time it was boring and alone.

While having lunch, Su Xiaomu sighed, "It's too lonely and running too much..."

……

At two o'clock in the afternoon, Su Xiaomu rushed to the complex building.

The transfer interview will be held in a small conference room on the third floor of the complex building. There are only 3 people who can come here, including Jiasu Xiaomu.

Six people failed the written test + practical operation.

I don't know if it was an illusion, but when Su Xiaomu arrived, he always felt that the three of Chen Jiming looked at him a little differently.

Seems a little excited?
Maybe it's because you haven't seen me so handsome up close and carefully?
According to the reverse order of the submission time, Su Xiaomu was the last one to conduct the interview at 25:[-].

After Su Xiaomu sat down, the first sentence he heard was mellow American English, "Hi, Su."

The part of the interview was to communicate in pure English, which Su Xiaomu had expected.

Listening and speaking ability are important indicators for evaluation. This is a necessary link. The All-British Innovation Class will not re-teach English. (The following content is automatically translated into Chinese.)
The only male lecturer without glasses spoke.

"Student Su, please introduce yourself briefly."

It was someone Su Xiaomu didn't know.

After a few simple questions, the old professor sitting in the middle asked a question.

"Student Su, your assembly code is so elegant that Professor Zhang Ke is full of praise. Even in the computer science class of this blog, few students at the same level, or even senior students, have such elegant programming ability.

Can you briefly describe why you fell in love with an arguably old, clunky language called assembly? "

Su Xiaomu thought for a while and answered simply, "Because, I..."

=======
Broken bowl.

Tomorrow Monday, ask for tomorrow's recommendation votes in advance, hoping to see my book in the front row, hey~
(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