NOVEL Genius of the Rules-Style System Chapter 82 - 77: Sharing the Joy with Others

Genius of the Rules-Style System

Chapter 82 - 77: Sharing the Joy with Others
  • Prev Chapter
  • Background
    Font family
    Font size
    Line hieght
    Full frame
    No line breaks
    Text to Speech
  • Next Chapter

Chapter 82: Chapter 77: Sharing the Joy with Others

What is a big shot?

This is a big shot!

The researchers, professors I’ve met before all promised to lower the university entrance score for those applying for computer-related majors at a certain university through autonomous enrollment.

But now, they’re admitting students directly!

No need to take the college entrance exam!

Direct admission!

The University of Science and Technology is also one of the top universities in the country, and those who can get in are the cream of the crop in terms of college entrance examination scores.

Hearing this made Zhao Yi feel a surge of energy to tackle algorithm packages.

But then, he decided against it.

After all, wasn’t his goal upon entering this world to make it into Shuimu University?

Still, Zhao Yi, out of sheer curiosity, decided to open the algorithm packages sent by Professor Liu. There were four packages in total, of which he briefly scanned two.

It was a headache!

The content of these algorithm packages was really complex. To understand them required quite some time, and to simplify and correct them seemed like a grand project. It felt easier to just rewrite them.

That’s how a programmer’s job is.

What belongs to others is always theirs -- sometimes, it’s faster to write your own program from scratch than to try to understand someone else’s program logic.

Of course.

The prerequisite is that you can write it yourself.

Also, looking at other people’s programs could influence your thoughts. You might come up with some shortcuts when you design your own program -- things you might not think of when studying others’ work.

Suddenly, he was hit by waves of hunger.

Zhao Yi barely had the door open when he heard his mom’s voice. "Xiao Yi, are you done? There’s still hot food and buns in the pot for you to eat before you go to sleep!"

"Okay!" he replied.

After finishing his meal, he went to sleep.

The next day, he woke up tired, but found breakfast on the table and a text message on his phone.

Dad: Your mother wanted me to remind you to have breakfast.

Reply: Got it.

Ever since Zhao Zhenxi got a cell phone, he’s always been trying to use it, either making calls or sending text messages. The few dozen messages in his monthly plan feel wasted if unused. But most of his friends don’t have cell phones to receive his messages.

Zhao Yi shook his head in amusement.

After breakfast, he energetically threw himself back into his work.

Debugging!

Running the code!

After finishing the selection program, he mainly debugged the subsequent programs and looked at the overall operation.

Running nearly five thousand lines of code, there were quite a few errors. ƒrēewebnoѵёl.cσm

Even with the help of "Connection Law", there were still more than twenty input errors, and a single wrong symbol could cause a huge problem in the program.

Debug, modify!

Debug again, modify again!

More than two hours later, the program successfully ran for the first time.

Zhao Yi inputted several initial Rubik’s cube states and all of them yielded the results he had expected.

His main interest was processing speed.

When one set of data was inputted, the CPU momentarily went to full power. It seemed like the computer was freezing, and it took about three or four seconds to get the results.

He decided to add a counter, nn, to the selection program. Each time the program ran, the counter would increase a little.

Then he inputted two different Rubik’s Cube states, both of which could be restored in fifteen steps.

After running for about a second each, both processes displayed the results.

There was nothing wrong with the results.

The count nn got different values, one was 36211, and the other was 67091.

"This few?"

Zhao Yi was surprised.

Even with the confidence he had in the selection method, he didn’t expect the second step of the comparison to filter out such a large amount of data.

But it made sense.

By screening out the most computationally demanding and useless data, the resulting data set removed the steps that would lead to greater confusion in the cube’s state.

The computational demand increases exponentially.

The screening process decreased the base of the exponent. By ten steps or less, the increase reduces to unit increments of hundreds or thousands, a quantity negligible enough to ignore.

"In the most complex scenario, could the filtering count reach tens of millions or even hundreds of millions?"

Zhao Yi thought to himself.

Actually, that amount of data isn’t much.

A regular home computer could still handle it, it would just require a bit more time. Maybe a few dozen seconds, or one minute, a few minutes, ten-odd minutes.

Even if it escalated to an hourly timeframe, it would be quite remarkable.

Right now, the world recognizes that calculation for a three-layer Rubik’s cube can only be done by a supercomputer. Home computers are just too inefficient.

Once the program is designed, the rest is just optimization.

Zhao Yi made some input optimizations.

Previously, for the ease of entering the design theme, the input end needs 54 colors of six interfaces. In fact, only three surfaces are enough to determine the entire Rubik’s Cube.

After adding the optimized input code, it only needs 27 colors of three sides.

Then comes the code check.

If the input color of the Rubik’s cube is invalid, the checking code will execute to give an error prompt.

And then.

Zhao Yi created a simple interface.

On the left are 27 blanks, where you can fill in the colors of the Rubik’s cube; the right side is a blank output interface, which will display the result of the fewest steps in text form.

Add a small prompt box in the middle.

According to the running condition of the program, input three tips: Please enter the colors of the Rubik’s cube, the program is running, please wait, and it’s done, please see the steps on the right.

OK!

It’s done!

Zhao Yi looked at the interface on the computer and the answer given on the right after inputting a Rubik’s cube state, and a great sense of achievement emerged.

It’s finished!

The result of several days and tens of hours of work!

This is the essence!

This is art!

At the great moment of success, isn’t it human without showing off?

Right!

This is to let others share the joy!

Zhao Yi quickly took a screenshot of the screen, and then sent it to the "Computer Technology Exchange Group", then smiled with crossed arms and silently lurked.

Suddenly.

The group exploded!

...

When Zhao Yi posted data in response to doubts on the Internet a few days ago, the group had discussed the issue of calculating a 3x3 Rubik’s cube, but there was no result after the discussion.

Everyone thought the matter had passed.

Zhao Yi triggered another discussion in the group the day before yesterday when he shot a video to restore the Rubik’s cube, but still no results.

Most people in the group are not familiar with Zhao Yi.

Directly asking about such issues that may involve key technologies is very impolite, because the technology involved may be extremely valuable.

Seeing the picture sent by Zhao Yi, everyone in the group was suddenly stunned.

Intelligent Technology Zhang Junlei: "Has the 3x3 Rubik’s cube been cracked?"

Mechanical Signal Liu Chengwu, "I don’t believe it! I don’t believe it..."

Missionary of Science Ma Xiaojun: "Don’t joke, I thought about it for several days and I have no clue. The calculations are simply overwhelming!"

Gao Jixian, the maker of humans’ dreams: "Can it really be calculated?"

Sister Awesome, Qian Hong: "Upon seeing this, I left the work at hand and took out the Rubik’s Cube from the drawer."

Qian Hong really posted some pictures of Rubik’s Cube and added a sentence, "You use that calculator, help me calculate it, if it can be calculated, I call you dad."

Zhang Junlei: "It’s indeed Sister Awesome!"

Liu Chengwu: "Sister Awesome is awesome!"

Ma Xiaojun: "Sister Awesome is awesome!"

Gao Jixian: "Sister Awesome is awesome!"

Zhao Yi pursed his lips and checked out the cube pictures for input to the Cube Solver. He quickly calculated the result, took a screenshot and sent it to the group.

In an instant.

The group went quiet.

Just as Zhao Yi was preparing for the follow-ups, he suddenly heard a knock at the door outside and noticed that it was past twelve o’clock.

"So early?" He went to open the door.

A group of people was standing at the door.

Sun Liang was the first to push the door and walk in.

Lin Xiaoqing and Zhao Linlin followed, laughed and talked with each other, they also greeted and walked in.

Two people were left outside the door.

One was a somewhat plump middle-aged man in casual clothes; the other was a tall woman in a long dress, dressed very stylishly from head to toe.

The middle-aged man extended his hand with a smile on his face, "You must be the genius hacker Zhao Yi from the Internet, right? I am Zhou Fangsheng, the program director of ’Brain Power Burst."

He pointed to the woman next to him, "This is Feng Lai from Tianyuan Studio."

"You can call me Sister Feng." Feng Lai added, with a warm smile on her face.

Zhao Yi nodded and asked, "What brings you here...?"

"We came to talk to you in person about the misunderstandings that happened before."

Feng Lai said straightforwardly, "There are various opinions online. I think regardless of our column or your life, they will have a bad impact."

Saying that, she looked around and asked with a smile, "Should we talk here?"

"Please come in!"

Zhao Yi looked inside the house and stepped aside to make room.

Use arrow keys (or A / D) to PREV/NEXT chapter