host brain pain

Chapter 54 BUG: He didn’t charge money, BUFF: Got it, got it

Chapter 54 BUG: He didn’t charge money, BUFF: Got it, got it

Shang Siyu and Chen Jiming have no objection, no matter what kind of group competition, it is very necessary to do the test.

Each other can know their respective levels, advantages and disadvantages by brushing the questions.

The lunch break is only a little over an hour, and time is precious, Su Xiaomu didn't say anything, just opened the online question bank on the webpage and just did it.

One of the topics is as follows:
Given a matrix of NXM—roughly''in this way, two squares with a cross in each form a rectangle. ①
Now start from a certain point and go through all the points and return to the starting point, asking for the least path.

There are 8 directions starting from a certain point, and the distance between adjacent points on the row is 1.

Su Xiaomu didn't mean to hide his clumsiness, he pointed to the topic and said.

"We see that the description of the topic is actually quite misleading, emphasizing some problems that have little to do with the topic, such as the TSP (Traveling Salesman) problem.

Therefore, what we have to do is to put aside these disturbances, and the remaining problems are not big. "

"..."

Shang Siyu: "Yes, yes, yes."

Chen Jiming: "Damn, that's awesome, my brother."

The two heads on the right and the ones on the far right lit up one after another, like chickens pecking at rice.

In the end, Su Xiaomu concluded, "In summary, we have obtained the linear algorithm for this problem:
That is, there is an even number in m and n, and the result is mn; otherwise, the result is mn+0.41. "

Next, the whole process of high energy.JPG!

Su Xiaomu started working directly in the online judgment system on the webpage, and entered the C++ code:

#include②

After pressing the last Enter, the code is only 18 lines in total, and the submission judgment returns AC, which is passed.

Shang Siyu clapped his hands together in front of his chest, "Student Xiaomu, you are too good!"

Chen Jiming: "Bull."

He didn't dare to blink his eyes during the whole process, so he could keep up with Su Xiaomu's problem-solving speed.

It's not that he couldn't solve the problem, but not so quickly.

From start to finish, a total of 9 minutes and 21 seconds.

This includes explaining the problem to them, analyzing the algorithm, typing the code, submitting the code, and judging...

And including their dumbfoundedness.

Chen Jiming doesn't have any other thoughts now, just study hard, study hard, and hang out with the boss, he doesn't want anything else.

He felt that with such problem-solving efficiency, what he and Shang Siyu had to be responsible for during the regional competition was to cheer and call while shouting 666.

It’s tiring to say the least, but there are a few things to do!

The first running-in ended like this, Su Xiaomu showed his own advantages, Chen Jiming and Shang Siyu also showed their own advantages.

Su Xiaomu is a member of various clubs.

Shang Siyu also meets in various meetings, praises others, cheers for others, understands the algorithm, and can complete the questions alone.

Chen Jiming is also able to read all kinds of questions. After all, it is pure English. At a glance, it needs to be translated in his head, and he will complete the questions alone.

Therefore, I completed three questions in one hour. The first one took 9 minutes and 21 seconds, the second one was relatively simple and took 22 minutes, and the third one was not much different from the second one and took 31 minutes...

It's ok, a little timed out.

…………

…………

After the afternoon class, Su Xiaomu finally planned to play with Saoke.com, a failed product.

It's a good thing not to waste the rented server hardware resources too much!

After accessing the background of Saoke.com through the computer at home, and seeing the number of site visits and traffic status, Su Xiaomu fell into deep thought.

This, is there really a need for rescue?

Three full days have passed, and there are still advertisements on campus. The total number of visits is:
39.

Regardless of the traffic status, there is no peak and no trough...

Although Su Xiaomu probably figured out the reason why the website crashed in the past few days, but looking at the simple numbers on the screen, his heart was full.

Saoke.com is a start-up, without any traffic guidance, without official support from the school, it is difficult to produce any content on an empty shell just relying on advertisements in the group and topping the forum.

There are no gimmicks, or there is no place for people to fall quickly, and it is certain to hit the street.

In the past few days, Su Xiaomu has carefully looked at the video sharing platform in his spare time, counting these similar types of websites.

Thinking about something.

First of all, in the registration entry and login, due to poor consideration, no third-party interface has been added.

Only South China University of Technology students are allowed to log in with the school newsletter.

Too restrictive!

Regardless of whether this person is a student of South China University of Technology, he is first of all social.

Before entering South China University of Technology, there are usually some instant messaging accounts, such as WeChat.

Such large-scale instant messaging platforms will open interfaces. It is not complicated to add support for third-party account login. It can be done according to the interface file.

This is the first modification Su Xiaomu plans to make to Saoke.com.

This modification was slowly formed under Su Xiaomu's slender fingers.

It is simple to say, but it is not so simple to change.

The main reason is that Su Xiaomu suffered from not being an otaku, and he didn't have the hand speed of a unicorn arm at all. What he can guarantee is that the keystroke error rate is as low as 0.1%.

It's not as good as some big guys who can write 1 words in one minute by rolling their faces on the keyboard.

"Hey, there is a bug this time?"

After the code was completed, Su Xiaomu submitted it to the debugger to run, but it actually returned an error.

Has my BUG immunity BUFF expired?

A very short dialogue popped up in Su Xiaomu's mind for no reason:

BUG: He didn't charge money.

BUFF: Got it, got it!
According to the error location, Su Xiaomu quickly found the place where the error occurred.

After smashing it, Su Xiaomu beeped softly, "A total of thousands of lines have been modified, and one in a thousand keystroke errors actually exceeds the standard!"

"Sometimes it's not good to be too confident!"

After completing the code modification and merging, it was [-]:[-] pm.

The female creditor usually arrives home at 10 o'clock, and then has dinner at [-]:[-] o'clock, so there are still five or ten minutes left.

Enough to implement some small ideas!

Su Xiaomu stretched his waist long and crossed his fingers in opposite directions. After a crackling sound, he let out a long breath.

"Work, work!"

After clicking on the pycharm software on the iMac startup platform, Su Xiaomu first simply built the framework. ③
He is going to write a small program in the Python language, which is especially suitable for writing web crawlers, and the function is very simple.

Use several factors such as keywords, number of likes, and number of barrages to traverse interesting videos on B-number and other video barrage websites, and then add some filter conditions and so on.

The final thing to get is:

The types of videos that college students like to complain about.

And as a porter who respects copyright to the utmost, artificially fills up the empty shell of Sao Ke...

①: If the description of this graphic is not in place, I will trouble everyone to imagine it.

②: Well, omitted.

③: pycharm: Apple’s version of the Python compiler.

======
Broken bowls, pots, and shoes.

Continuation: To be honest, if you continue to write divine novels, maybe you can get better grades?This daily article written now is a lot of hard work. It took three hours for each chapter, but it doesn’t meet everyone’s taste. If you don’t use routines, how dare you try new ones, it’s up to you!Okay, then please delete the bookshelf if you don't like it, anyway, you are the one who is foolish, and you deserve 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