He thought Shen Ruhai was just asking casually, but he didn't expect that this guy was being serious...
Looking at the phone, he suddenly felt that it was a bit hot.
What should I do? Clean it now? But it’s too late to do it now...
After thinking about it, Ye Ming gritted his teeth and simply pretended to be dead.
Anyone who has contacted him knows that his WeChat messages are often delayed for half a day.
The moment the phone screen stopped, the private chat message between Qi and Mo popped up.
"You must not have done it, right?" followed by a Sherlock Holmes expression.
Ye Ming panicked and immediately replied: "Shh, don't tell the captain, I really don't have time recently."
Qi Yumo: "Hey, I knew it."
Ye Ming: "Did you do it?"
Qi Yumo: "I registered an account during the Spring Festival and have been working on it intermittently. The questions on Liku are not very difficult, and they tend to be public, but the advantage is that they are wide in scope and can train competition habits. So this half
I must have done more than a hundred strokes every month."
Hearing what Qi Yumo said, Ye Ming finally understood why Shen Ruhai wanted him to issue an account.
Feelings are due to the hundreds of words you can say when you open your mouth...
"I'm a little irritated, so I'll choose a simple brush later, and you can help me smooth things over in the group."
Qi Yumo made an "easy to talk" expression: "A treat?"
"No problem, I'll definitely wait until the game comes back!"
"Yeah, by the way, when does your competition start? When does it start?"
"On the 28th, the train departs this afternoon and will arrive tomorrow morning."
"Then I wish you a successful start and return home with the championship! Have a safe journey!"
"I'd like to lend you some good words."
Ye Ming smiled and turned off his phone.
Qi Yumo agreed to join the team at the Science and Technology Museum that day, but in the end she just talked about it and didn't really join - the mid-term review had already passed. Even if she did join, she wouldn't be considered a participating member and wouldn't get the prize.
.
After thinking about it, he sighed and sat in front of the computer.
He also said that he would start giving Yinta physics lessons today.
After logging into Likou, Ye Ming took a few glances and didn't know where to start, so he simply clicked "Random Question".
LCP 21. Chase Game
During the autumn outing, Xiaoli and Xiaokou designed a chasing game. They chose N attractions in the autumn market scenic area, and the attractions were numbered 1~N. In addition, they also selected N paths to satisfy any two attractions.
They can all be reached through small roads, and there are no two roads that connect the same scenic spots. The entire game scene can be regarded as an undirected connected graph, recorded as a two-dimensional array edges, and the scenic spots are represented in the form [a, b] in the array.
There is a small road connecting a and scenic spot b.
…
Note: Xiaoli and Xiaokou will definitely adopt the optimal movement strategy.
Ye Ming looked at the example and found that it was an algorithm problem of DFS (depth first search) and BFS (breadth first search).
Then it is nothing more than finding the rings according to the examples, then discussing them according to the situation, and finally enumerating.
After thinking for a while, Ye Ming began to write the code.
#define INF 0x3f3f3f3f
class Solution {
&; adj;
&h, parent;
&or in_loop;
int n, loop = 0;
…
Ye Ming clattered down nearly 70 lines of code. After clicking on the execution pass, he directly chose to submit.
Three seconds later.
The system returns the submission result.
Execution time: 268 ms, beating 87.69% of all C++ submissions.
Memory consumption: 80.8 MB, beats 88.61% of all C++ submissions
Passed test cases: 55 / 55
Looking at the results, Ye Ming was a little stunned.
This execution time and memory consumption actually only ranks in the top 20%?
"Fuck!"
Ye Ming sat upright immediately.
With the support of the system, it might be too much to say that learning is as easy as eating for him.
But it's difficult...it's definitely not difficult.
Let's put it this way, as long as he reads a book with his mind and knowledge base, as long as it is not unusual, he will understand it after reading it.
This is the "sequelae" caused to him after understanding BUFF.
I put it in quotation marks because it's a good thing.
The three major BUFFs of the system, in popular terms, are the short-term "development" and "overclocking" of his brain - such as those pseudo-scientific claims that Einstein's brain development reached a few percent.
As we all know, concentration, insight, and understanding are all abilities. Even if they are only improved in a short period of time, they will have subtle and long-term effects.
So now Ye Ming, even without BUFF, still has the ability to learn and solve problems beyond ordinary people.
"You really can't underestimate the world's heroes."
Ye Ming took a few breaths in succession, and was filled with emotion when he saw the submission result.
Then he started checking the code.
Time passed minute by minute.
When Ye Ming continued to modify the code and submitted it for the fourth time, the website finally returned results that satisfied him.
Execution time: 201ms, beating 99.99% of all C++ submissions
Memory consumption: 60.8 MB, beats 99.99% of all C++ submissions
Ye Ming took a long breath and smiled.
Feeling comfortable!
One more question!
Oh, binary tree, simple.
Then come again...
…
As the question came up again and again, Ye Ming went straight from nine in the morning to four thirty in the afternoon.
Except for the first few questions, Ye Ming wanted to pursue surpassing everyone. For the following questions, he kept a calm mind. He didn't care about execution efficiency and passed the code first.
Because efficiency...is really not something that can be achieved in a competitive environment.
It was a cup of tea, a pack of cigarettes, and squatting in front of the monitor for a day through repeated trials.
There is no need for him to compete in this regard.
"Let's go, let's gather."
Just when Ye Ming clicked the submit button for question 130, Peng Xiaofei shouldered his way out of the dormitory.
The next second, his eyes widened: "Damn it, did you study all the questions today?"
"Well, I brushed it."
Ye Ming closed his dry eyes forcefully, moved his neck again, and directly connected the monitor.
Peng Xiaofei is good at everything, but he is a bit fussy.
If this guy knew that he had logged in 130 times in one day, he would probably make a lot of noise.
"Let's go, should we go directly to the station to eat or something?"
"There will be an expedition ceremony first."
"...Formalism."
"I think so too, but this time we have high hopes, so we can do it."
"Alas..." Ye Ming stood up.
…
At 7 o'clock in the evening, a group of ten people got on the bus on time.
Accompanied by silent acceleration, the high-speed train slowly drove out of the East Station.
Ye Ming, who had been tired for a day, fell asleep leaning on the chair not long after getting in the car.
Then when he opened his eyes, it was already early morning.
The surroundings have become quiet, and even the window is dark.
He looked around and saw that all his teammates had fallen asleep. Only the captain Li Dongsheng sitting opposite was still playing with his mobile phone and looking up from time to time.
Seeing Ye Ming wake up, Li Dongsheng raised his chin at him and lowered his voice and said, "If you wake up, I will sleep for a while. When you want to sleep again, call me Jiang Ha."
Ye Ming smiled slightly: "No problem."
——The reason why they chose to come here by train was mainly because it was not safe to transport their robot in checked baggage, so they could only carry it with them.
If this thing is stolen or broken by someone...then everyone won't even have a place to cry.
Then, when he was looking at the packaging box under the seat, he also saw the mains socket next to the seat.
Ye Ming blinked and touched the backpack on the side.
——He told Shen Ruhai that he had done a few hundred strokes.