Chapter 64: The Greedy Algorithm

When he said this, Professor Yan pulled Zhang Yi over, raised his head proudly, and said to everyone with his nostrils: "It's all right, see me as a student! Not only is the algorithm foundation profound, but the most rare thing is that the computer programming ability is super strong, and it will definitely kill you old guys in seconds!"

"Old man Yan is not ashamed, he is bragging again, anyway, bragging is not illegal!" everyone replied without showing weakness.

"Hmph, do you know the Sina software download channel?"

"Of course you know, don't we download software from there?"

"Which software has the highest number of downloads in recent times, do you know?"

Several old professors looked at each other, and when they were hesitating, a student said softly: "It's a micro hard input method, and the number of downloads is the first." ”

When Professor Yan heard the student's answer, he became happy, and when he was pretending to be B, if no one came to cheer him, wouldn't it be a lot less interesting!

He nodded approvingly at the student, and then asked kindly, "Then do you know which is the second most downloaded software?"

"It's micro-hardware compression software!" the student replied quickly as if he had been beaten with chicken blood.

"The little classmates are good, and the children can be taught!"

"Do you old guys know who wrote these two pieces of software?"

Without waiting for everyone to answer, he pulled Zhang Yi and said proudly: "He is the author of the two software, Zhang Yi of our school." ”

One of the old professors, holding his glasses as thick as the bottom of a bottle, said hesitantly: "Old Yan, you won't be joking! I am using both software, and the sophistication of the software is not something that a young man can make!"

"Yes! It's unlikely!" the crowd woke up and shouted.

"What do you guys know, don't look at people's smallness, programming level, dump you ten streets. ”

"Professor!" the young man who was smiling just now pulled a professor beside him and called in a low voice.

"What's the matter, something to say out loud. ”

Encouraged by this, the young man raised his head and said to the crowd: "Professors, I remember very well that it was noted in the download channel that the author was a man named Zhang Yi. ”

As soon as they heard this, the noisy crowd fell silent in an instant. All eyes stared at Zhang Yi in unison, these eyes, some scrutiny, some confused, like a thorn in the back, made him a little unable to bear the pressure.

Hurriedly arched his hand and said: "I am indeed the author of the software, professors, students, if you are not satisfied with the software, please say it, I will improve it soon." ”

When the crowd heard this, they immediately regained their ability to speak, and they were gossiping.

Zhang Yi was shocked when he saw this posture, is there really so many bugs in the software?

Listening carefully to everyone's opinions on the software, but after listening to it, he realized that the problem was concentrated in one point: that is, the free version provided in the download channel has too few features, but the micro-hardware and software compilation is too expensive, and the professors can afford it, but the students, many of them can't afford it.

Zhang Yi lowered his head and thought about it carefully, in his previous life, software companies such as Microsoft and AUTO DESK had produced corresponding educational versions of software, and the price was much cheaper than the ordinary retail version, which could not only attract a large number of student users, but also recommend familiar software to the work unit after these students went to work in the future.

He decided on one thing in an instant, raised his head, and said to the professors and students gathered around: "I can make a promise to everyone here, after this matter, I will immediately launch an educational version of the software, which is specially for students and teachers, and the price will be cheaper, and even have other benefits."

When the people around heard this, they couldn't help but applaud.

It's easy to make an educational version of the software, but how to tell if it's a student or a teacher is more troublesome, and now in schools, few students and teachers use .edu mailboxes, after all, there are too few people on the Internet. Email doesn't have much value either.

It wasn't until he moved into the guest house that he was still thinking about how to distinguish between education and non-education users.

His mind kept recalling later generations, all kinds of anti-piracy routines.

The next day, after breakfast, everyone went to a large conference room at Shanghai Beijing University.

In the conference room, there were already some people seated, gray-haired professors, some pot-bellied officials, and some young people who were dressed in civilian clothes but sat in a straight posture.

After everyone sat down in turn, the staff closed the curtains, and the slide projector typed out several schematic diagrams, which can be seen that this is a subject of calculating the orbits between celestial bodies, according to Zhang Yi's later eyes, it seems to involve some space debris, which are rotating irregularly every moment and may hit the aircraft in orbit.

The narrator, a young military officer, explained: This is the debris of a decommissioned satellite in geosynchronous orbit, which threatens the normal operation of the satellite all the time.

The purpose of convening everyone is to find out an algorithm and form this algorithm into a formula, using the computer to select the debris that poses a relatively small threat to the satellite, to calculate the orbit speed and angle of the satellite, etc., so as to ensure the healthy operation of the satellite to the greatest extent.

Zhang Yi felt dizzy when he listened to these proper nouns, in his previous life, he had the opportunity to contact this aerospace field, and no one in the open media would announce this, it was a completely unfamiliar field for him.

Many of the professors and students here are also confused, and their majors are completely wrong.

It seems to see everyone's embarrassment, the explainer then explained, considering that everyone does not know much about aerospace, we summarized the calculation of the orbit, the required variables, and made some optimizations for these variables, the corresponding algorithm ideas, we also have a route, but the difficulty is that such a complex celestial orbit operation, with manual calculation, the efficiency is too low, the processing speed is too slow, can not meet the actual needs.

The United States and the former Soviet Union used the FORTRAN language, also known as Evangelization, which is the world's first high-level computer programming language and is widely used in the field of scientific and engineering computing.

There are too many versions of the FORTRAN language, and the compatibility of the new version with the old version is a big problem, which can have a big impact on future expansion and use.

CONSIDERING THAT THERE ARE TOO MANY UNCERTAINTIES IN THE FORTRAN LANGUAGE, WE DECIDED TO USE INTEL ASSEMBLY AND C LANGUAGE TO DESCRIBE MATHEMATICAL MODELS AND ALGORITHMS AFTER CONSULTING WITH A NUMBER OF EXPERTS.