Chapter 6: The Man Who Doesn't Exist at All
"It probably doesn't work that well." After Yan An finished speaking, he immediately crackled on the keyboard.
He has a good memory, and there is no such thing as forgetting the old algorithm or mixing the old and new algorithms just after learning the new algorithm.
When writing the question, because I went through it in my mind before, I knew how to deal with each step and every detail, so there was no stuck.
Line after line of code popped up, and Mr. Zhang found that he couldn't keep up with the speed of Yan An's code, seventy lines of code were as simple and easy as seven lines for him, and it was completed in a while.
"Done?" Teacher Zhang looked at him suspiciously, and wrote a total of seventy-eight lines of code, although each line is not long and the content is not much, but this speed is inevitably a little too fast.
It's not like I've just mastered this technique, like Lin Jing and Lin Chen, it's normal to stop and think for a while before continuing.
For his proficiency, even if Yan An said that he had twenty years of experience, Teacher Zhang believed it.
At this speed, how can you see that this is a freshman, and he is clearly a senior code farmer.
If you put on a plaid shirt and a pair of glasses, it will be even more like.
Turning his attention back to the code, Mr. Zhang found that the first half of the code was very familiar at a glance, and found out that the topic just now was similar.
This is the phase data structure that Yan An said?
The teacher read it line by line, and the code was understood, but it was stuck in the key parts, and it took him a while to digest it.
"What does this do?" Mr. Zhang pointed to the code and asked.
He can understand it by himself, but the author is by his side, and it is obviously easier to ask directly, which can save a lot of brain cells.
"Construct the phase relationship, and then calculate it through the phase logic between different data." Yan An replied in a natural tone.
This thing is actually not easy to explain, people who understand it will naturally understand, and it is useless for people who don't understand it.
You have to start with the basics of phase data structures, and only by understanding and mastering the construction ideas of this data structure can you understand the role of these codes.
Forcing each piece of code to explain what it does will only make people obscure it.
Mr. Zhang didn't get entangled, and immediately turned his attention to the next line of code, and soon even he felt that some incomprehensible parts came, because it was an algorithm based on phase data structures, and it was difficult for him to understand what the code of the algorithm part was used for and what the running logic was when the data structure was not clear.
"You ...... this result"
The teacher tried to run the code, and the console quickly gave the result.
That's right.
Lin Jing observed the teacher's reaction, and saw that his fingers tapped on the table and knew that the teacher was in deep thought, which showed that Yan An's code was not only correct, but even the teacher was stumped.
Glancing in the direction of Yan An in surprise, Yan An has only been here for two months and may not know the teacher's style, he has been training for a full year, and he knows very well that Teacher Zhang likes to make a fuss about the last three questions.
Especially the last question, not to mention that Lin Chen, who has the highest level among them, has to think for a long time to write it, even some professional teachers may not be able to write the optimal solution.
And he didn't even think about touching this question.
It turns out that he has been caught up by his junior brother and opened up the gap before he knows it? Lin Jing thought sadly in his heart, compared to Yan An's efforts during this period of time and what he had done, he only felt ashamed and ashamed.
Lin Jing glanced in Lin Chen's direction and found that he was working hard, and he didn't know which question he was writing.
"You're kind of funny code."
After a short period of contemplation, Mr. Zhang stopped tapping the table with his hand, and the results of the two questions, different data, were completely different after being classified by phase.
In addition to the basic idea, he had to reconstruct a structural model for this problem.
It took about two minutes to get it done.
After all, it is not a high-level knowledge, and after understanding the core idea, you can quickly establish the corresponding structural model in your mind.
"I think it's funny, too." During the teacher's contemplation, Yan An casually wrote two more questions, and communicated with the senior sister by the way.
After understanding the part of the data structure, Mr. Zhang didn't bother with the algorithm, because he wasn't sure how long it would take for him to understand the algorithm part.
"What is this data structure called? Phase-based data structures, right? The teacher asked casually, opened the web page on the computer, and began to search on the spot.
Yan An worked very hard and mastered this kind of technique that even he had never heard of, which was a plus for him.
But he shouldn't have lied in front of himself to show off.
What the rest of the world looks like, he doesn't know. However, at Nandu University, academics are academics, and there should be no suffixes such as misappropriation and falsification.
Yan An's statement that this kind of opening his mouth is this technology is only me, which makes him very unpleasant to hear.
Can a mere student, without a deep knowledge reserve and decades of long-term investment, still invent a new technology in a flash of inspiration?
This possibility is not as big as picking up this technology from the cliff, and the outrageous degree is comparable to that of a primary school student publishing a cancer paper, at least people won a third prize for this paper.
Today, when the development of data structures is almost stagnant, most of the research teams devote their energy to the study of algorithms.
The impact of a new type of data structure is absolutely sensational, this kind of news cannot be hidden, as long as he searches, he can definitely find relevant news reports.
However, the search results made Mr. Zhang dumbfounded, there was no such entry, no related words.
Not only not at home, but also abroad.
It is not ruled out that Yan An may have chosen a random name in order to make them unable to find relevant reports, but Mr. Zhang also did not find a recent report on the new data structure.
The most recent one was two years ago, when a foreign research team improved a data structure to develop a more efficient and practical data structure.
It is completely unrelated to the phase data structure used by Yan An.
He couldn't have made it himself, could he? Teacher Zhang's head popped up with such a thought for no reason, and then the unstoppable madness spread to occupy the entire mind.
"Tell me the truth, you really did your own research?"
Teacher Zhang looked at him intently, trying to find the slightest hint of panic in his expression.
But no, Yan An asked him rhetorically, "When did I say that I researched it myself?" ”
He just said that only he knew this technology on this planet, and he didn't say that this technology was created by him.
"The phase data structure should have been proposed by Ye Luolin Jester and realized and perfected by Bai Anzheng. The phase jump algorithm was proposed and implemented by Yan Xinling, and the phase complex algorithm was proposed by Zhu Luo Niancheng, which has been updated and expanded by more than 20 people. ”
Yan An is really very sincere, these names appear in the literature given by BT, all of them are Mingxing's researchers, and they were introduced by him without reservation.
Of course, Mr. Zhang must have lacked some trust in him.
Just look at his expression, Yan An is very familiar, and the reaction of the police when he told the police that he was an alien with great sincerity.
"What about them? Where is it? How did you reach them? And how did they learn the results of their hard work? ”
"It's long gone, I've never seen them. In fact, I took a leave of absence for the past two days to learn these skills, and I learned them as soon as I woke up. "At least these are the characters of Mingxing thousands of years ago, and now there are no bones left, Yan An doesn't want to see them.
These words are true, but Mr. Zhang's expression is very subtle.
Someone who has never seen it before only gives him a new technique to learn, and he wakes up to learn......
Teacher Zhang took his mobile phone and secretly searched for the names mentioned by Yan An, whether it was Ye Luolin Jester or Bai Anzheng and other names, they were not historical celebrities.
In other words, these people are only known to Yan An.
He had a bad guess in his heart, "You guys should write the question first." ”