Rule system

Chapter 67-The Olympic Games

The compressed file sent by Zhang Zhen has only two files after decompression.

One is an overview of subcontracting, which tells what kind of effect should be achieved under the big framework.

Zhao Yi took a closer look.

The content of the overview is to input the collected data, organize and analyze, and then output a data arrangement.

The content of this sub-contract calculation is very important at a glance. It is like a simple comparison of grades. If students in a class rank their grades and output the wrong results, it will affect the awarding of certificates, the selection of top three students, and even the students’ performance. In the heart, in the heart of the parents.

and many more.

Of course, the calculation of subcontracted data is not as simple as ranking results. The collected data has many attributes, and the importance of each attribute is different. Special algorithms must be used to score, then calculate and analyze, and finally give a detailed ranking .

The second document is the program framework and requirements.

Because it's just doing subcontracting work, the requirements are not so strictly prohibited. As long as the output data is correct, it is enough. After it is done, the other team will also make certain improvements and corrections to integrate the program into the system.

Zhao Yi opened the programming software, copied the framework directly, and started experimenting with "Law of Liaison".

"The first step is to write an input package, divided into categories..."

["Law of Contact"!

"Next, we will reach a small project group..."

["Law of Contact"!

"Then it's more..."

["Law of Contact"!

Works!

Zhao Yi thought about subdividing the writing work and tried to use the "Law of Contact" every small step, and found that he could know what to write in the next few or a dozen lines of code without consuming energy.

His fingers kept typing, and he didn't even stop.

Next, he expanded the scope of use of the "Law of Liaison", that is, no longer distinguishing steps in detail, and a slightly larger work item was also used directly.

After using it twice in a row, he found that the energy value was consumed--

a little!

Although he didn't consume a lot of energy, he only typed more than 20 lines of code, and replaced it with a few hundred lines, and the consumption was very obvious.

His fingers never stopped.

On average, one line of code takes three or four seconds, and longer ones take less than ten seconds. A few hundred lines is enough for tens of minutes.

of course.

This consumption is not too much.

Zhao Yi cares more about the law of "Law of Connection".

As far as the work at hand is concerned, dividing the content into more detailed content will hardly consume energy. If it is not detailed, it will consume energy.

But at the same time, consuming energy is also beneficial.

The code written in "Law of Liaison" is very simplified and rigorous, and the detailed divisions that I have thought about are not so perfect.

This is like decorating the house.

Separately plan walls, floors, furniture, and electrical appliances. All use the best materials and buy the best furniture and electrical appliances. However, when all the parts are put together, there may be "incoordination" in the matching.

"Law of Connection" is equivalent to a designer.

Not only can design each component, but also make a perfect combination of components, so that the perfect combination of scattered components.

...

In the process of experimenting "Law of Liaison", the subcontracting design work was completed.

Zhao Yi hit the final conclusion and ran it for debugging. After trying to input data several times, no problems were found.

"Should it be possible?"

He was about to send it to Zhang Zhen, and only half an hour passed after seeing the time?

"Forget it!"

"Send it again tomorrow!"

It’s amazing to complete the work in half an hour. Putting it on an experienced algorithm engineer, a subcontracting design with a similar workload requires at least a whole day.

In fact, the process of designing and typing code only takes up a portion of the time, and requires debugging, running, and improvement.

The time required is uncertain.

The code written in the "Law of Liaison" is very complete, and almost all errors appear in the typing process, that is, the wrong letter is typed, rather than the design or algorithm.

Zhao Yi felt a headache.

He quickly turned off the computer and fell asleep.

...

Wake up the next day and feel refreshed, and the day of learning to add money starts again.

Bike to school in the morning for exercise.

Daily routine and Lin Xiaoqing teased a few words.

Lin Xiaoqing didn't know what was going on. When she heard the ridicule, she was very stupid, as if she didn't react, and she seemed to completely ignore the ridiculous words.

"Resistance increased?"

Zhao Yi could only change his target and talk to other girls.

The effect is amazing!

Sister, target: Luo Rui, learn coins +2.

Sister, target: Wang Jincui, learn coins +2.

Zhao Yi's confidence in his charm has increased by a few percentage points, but whenever he teased with other girls, he always felt a pair of eyes staring at him.

Feel it seriously.

That was... Murderous!?

Zhao Yi quickly turned to look at Lin Xiaoqing and found that the other party was reading with his head down.

Is it an illusion?

In fact, he is not interested in chatting with little girls, especially the first row in the class...

Cough.

Zhao Yi doesn't have the aesthetics of height, but more than 1.5 meters plus a round face band and chubby figure, and some with some freckles representing youth?

Forget it!

It's better to be alone.

Sage learning mode is on!

The hard work of the day has been very rewarding.

In addition to the daily course knowledge, I also gnawed away the biology book in the second volume of high school. I just read it roughly, but still remembered a lot of knowledge points.

After the math class in the afternoon, Niu Lianhua called several people to the office, namely Sun Liang, He Ronghua, Zhao Yi, Lin Xiaoqing, and Zhou Xin.

Top five monthly math exams!

On the way.

Lin Xiaoqing guessed, "It must be an Olympiad. The school allows us to participate."

"should be."

He Ronghua nodded in agreement.

Zhao Yi looked at a few people and asked, "Isn't it difficult for the Olympics? Can we have a chance to participate?"

"How come there is no chance!" Lin Xiaoqing pouted dissatisfiedly, "As long as it is a competition, there is a chance!"

"Good, good!"

Zhao Yi was too lazy to argue with the strong little girl.

"Humph!"

Turn your head and glance to kill every day.

After arriving in the office, Niu Lianhua really started talking about the competition.

There are many subjects in the Olympic competition.

The Olympic Mathematics Competition is the most important. If you get the provincial first prize, you will get an extra 20 points for the college entrance examination.Other subjects include physics, chemistry, information, and biology. The bonus points and admission policies for the college entrance examination are different.

Niu Lianhua said, "The school enrolls in mathematics as a group. If you or others want to participate in the Olympiad in other subjects, you can go to each subject teacher to sign up."

She looked at Zhao Yi, "Zhao Yi, would you like to sign up for an informatics competition?"

"What's the use of reporting that? Is there a bonus for the college entrance examination?" Zhao Yi asked puzzledly, he hadn't learned about this.

"The information competition is even more powerful than the Mathematical Olympiad. If you get the highest award, you have a chance to be admitted to the computer major of top universities." Niu Lianhua said, his eyes glowed.

If it were before, the students of No. 13 Middle School participated in the informatics competition, it was something that I would not even dare to think about. After all, most of the students who participated had been programming training since childhood.

The students in front of you are different!

He is a computer genius who cracks the fruit computer. A simple training may be able to win an award.

Zhao Yi shook his head directly, "If I want to take a computer major, I don't have to participate in any competition at all."

Right!

Niu Lianhua thought of the School of Computer Science, which was a top-tier institution, and invited Zhao Yifa to drop points to enroll.

Now Zhao Yi's grades are not bad, and he has a certain reputation. It is not difficult to enter the top universities through the special enrollment route. There is indeed no need to participate in another competition.

"Then what major do you want to pursue?" Niulian asked with interest.

Others also looked over.

"I haven't figured it out yet, maybe it's a science major, maybe it's medicine, biology, etc.... Anyway, I will never report the computer!" Zhao Yi was quite sure of this.

Niu Lianhua still doesn't understand, but the important thing is the Olympiad.

She talked about the schedule, and also explained that in the near future, the classroom will be opened to a few people, so that they can take time to study Mathematical Olympiad problems, and she will also go there for guidance.

"Although I don't expect to win a big prize, we must pay attention to it!"

Niu Lianhua said.

When she was speaking, she looked at Sun Liang the whole time, as if she was explaining to Sun Liang alone.

Several others were ignored.

After all was said and done, Niu Lianhua continued to say seriously with Sun Liang, "Have you never done Mathematical Olympiad training? Recently, I have done more Mathematical Olympiad questions and adapt to it. With your mathematics ability, it is still very good to pass this level in the city. relaxing."

"You too!"

Niu Lianhua finally remembered the others, "Even if you can't get the prize, you can expand your thinking by participating in an Olympiad. This year's college entrance examination questions are difficult, and it is a difficult problem to practice."

Are you sure you will be eliminated before participating?

Zhao Yi turned his head to look at Sun Liang with a look of expectation. There was something in his heart... fighting spirit?

He has two great skills in hand!

Not to mention winning the first prize in the provincial level competition, but it shouldn’t be difficult to pass the city level first level?