Chapter 52 BUG: He didn't charge the money, BUFF: Got it, got it
Shang Siyu and Chen Jiming have no objections. No matter what kind of group competition it is, solving questions is a very necessary break-in.
Each other can know their respective levels, strengths, and weaknesses by answering questions.
The lunch break was only a little over an hour, and time was precious. Su Xiaomu didn't say anything, just opened the online question bank on the web page and did it.
One of the questions has this meaning:
Given an NXM matrix - about '??', two squares with a cross in each form form a rectangle. ①
Now we need to start from a certain point and travel to all points and return to the starting point to find the minimum path.
There are 8 directions starting from a certain point, and the distance between adjacent points on the line is 1.
Su Xiaomu didn't mean to hide his clumsiness, he pointed at the topic and said.
"We see that the description of the question is actually a lot misleading, emphasizing some issues that have little to do with the question, such as the TSP (traveling salesman) problem, etc.
So, what we have to do is put aside these distractions, and the remaining problems will not be big.”
"..."
Shang Siyu: "Yes, yes, yes."
Chen Jiming: "Damn it, my brother is so awesome."
The two heads on the right and further to the right are nodding one after another, like chickens pecking at rice.
In the end, Su Xiaomu concluded, “Taken together, we have obtained the linear algorithm for this question:
That is, if there is an even number in m and n, the result is mn; otherwise, the result is mn+0.41."
Next, the whole process is high energy.JPG!
Su Xiaomu started working directly in the online question judging system on the web page and entered the C++ code:
#include②
After hitting the last carriage return, the total code was only 18 lines. The submission decision returned AC and passed.
Shang Siyu clasped his hands in front of his chest and clapped, "Xiaomu, you are so awesome!"
Chen Jiming: "Bull."
He basically 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, it lasts 9 minutes and 21 seconds.
This includes explaining the question to them, analyzing the algorithm, typing the code, submitting the code, and making judgments...
And including their dumbfounded looks.
Chen Jiming has no other thoughts now. He just wants to watch, study, and hang out with the big guys. He wants nothing more.
He felt that with such problem-solving efficiency, during the regional competition, what he and Shang Siyu were responsible for was cheering and calling, shouting 666.
It sounds tiring to say that there are so many things to do!
The first run-in ended like this. Su Xiaomu showed his own advantages, and Chen Jiming and Shang Siyu also showed their own advantages.
Su Xiaomu is a member of various societies.
Shang Siyu is also good at various things. He can praise others and cheer others up. He still understands algorithms and can complete the questions on his own.
Chen Jiming also has various skills and can read various questions. After all, it is purely in English. At first glance, it seems that he needs to translate it in his mind, and he can also 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 took 31 minutes which was not much different from the second one...
Okay, a little timed out.
…………
…………
After the afternoon class, Su Xiaomu finally planned to re-operate with the failed product Saoke.com.
Fortunately, you can’t waste the rented server hardware resources too much!
After accessing the backend of Saoke.com through her home computer and seeing the number of site visits and traffic status, Su Xiaomu fell into deep thought.
Is this really necessary 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 are no peaks or troughs...
Although Su Xiaomu had probably figured out the reason for the website's failure in the past few days, looking at the simple numbers on the screen made him feel full.
Saoke.com is a start-up with no traffic direction and no official support from the school. It relies solely on advertisements in the group and sticking to the top of the forum. It is difficult to create any content in an empty shell.
There are no gimmicks, or in other words, there is no place that makes people fall off quickly, so it is definitely a hit.
In the past few days, Su Xiaomu has carefully looked at video sharing platforms in her spare time, and has counted several similar types of websites.
Thought about something.
First of all, in the registration portal and login area, due to ill-considered reasons, no third-party interface was added.
Only students of South China University of Technology are allowed to log in using the campus communication.
The limitations are too great!
Regardless of whether this person is a student of South China University of Technology or not, he is first of all a social person.
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 slowly took shape under Su Xiaomu's slender fingers.
It sounds simple, but changing it is not that simple.
The main reason is that Su Xiaomu suffers the disadvantage of not being an otaku. He does not have the hand speed of Qilin Arm. What he can guarantee is that the key error rate is as low as 0.1% or less.
Not as good as some big guys who can write 600 words a minute by using their faces to roll the keyboard.
"Hey, there's a bug this time?"
After the code was completed, Su Xiaomu submitted it to the debugger for running, and an error was returned.
Has my BUG immunity buff expired?
A very brief conversation popped up in Su Xiaomu's mind for no reason:
BUG: He did not recharge.
BUFF: Got it, got it!
Based on the error location, Su Xiaomu quickly found the place where the error occurred.
Su Xiaomu sighed, and whispered, "Thousands of lines have been modified in total, and even one thousandth of a keystroke error exceeds the standard!"
“Sometimes it’s bad to be too confident!”
After completing the code modification and merging, it was only 5:40 pm.
The female creditor usually gets home at six o'clock and then starts dinner at six-thirty. Calculating this, there are still fifty minutes left.
Enough to realize some small ideas!
Su Xiaomu stretched out a long stretch, crossed his fingers with his hands in reverse, and after a crackling sound, he let out a long breath.
"Work, work!"
Clicking on the pycharm software on the iMac startup platform, Su Xiaomu first simply built the framework. ③
He plans to write a small program in Python, which is particularly suitable for writing web crawlers, and its function is also 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.
What you end up with is:
Types of videos that college students like to complain about.
And act as a porter who respects copyright to the maximum extent, artificially filling up the empty shell of the slut...
①: If this figure cannot be described well, I would like to ask you to imagine it.
②: Well, omit it.
③:pycharm: Apple version of Python compiler.
======
Broken bowls, broken pots, broken shoes.
Continued: To be honest, if I continue to write sacred articles, I will probably get better results? The daily-oriented article I am writing now requires a lot of thinking, and each chapter took three hours, but it does not suit everyone's taste.
Why don't you use routines? How dare you try something new? It's your turn! Okay, then please delete the bookshelf if you don't like it. Anyway, you're the one who throws it away, you idiot. You deserve it.