"Haitao, you add the loop index value index in this program loop, p=p+index; you can't get it when you take the third structure value, here, the third index value is 2, access the third The structure element fails, p points to an unknown area, because A has only three elements! Therefore, another identical pointer p2 must be declared here, and each assignment is p+index instead of changing p each time."
"Lin Hang, your bug is here. This data must be written in binary, so that the data obtained through this algorithm can run normally."
After reading the code program written by the two of them, Li Yi immediately found out the bug.
Zhang Haitao took the notebook and tested the modified program, which was running normally.
"It's over, that's ok! Old Li, when did you become so powerful, you are awesome!" Zhang Haitao praised excitedly.
Lin Hang looked at Li Yi in surprise and nodded in approval. His program bug was also solved by Li Yi, which was too efficient!
"Let's go, let's go to dinner, come back to write after eating." Liu Wenfeng reminded.
Li Yi hurriedly stopped typing the code, changed his shoes, left the dormitory with the three roommates, and went to the cafeteria.
During dinner time, the campus was very lively.
Groups of roommates, couples in pairs, boys and girls are all at the age of youth.
After dinner, he returned to the dormitory, Li Yi couldn't wait to continue writing programs, and he wanted to use the new algorithm he had learned.
The origin of this black tattoo is mysterious, I don't know when it will disappear, maybe tomorrow, maybe the day after tomorrow, maybe for a lifetime, everything is full of unknowns, but the knowledge learned from the "library" is real.
Taking advantage of this moment of deep memory, Li Yi is going to write down the new knowledge he has learned one by one.
until late at night.
Zhang Haitao and the others watched Li Yi sitting at the computer desk typing codes.
"Crackling..." The sound of tapping the keyboard was as dense as rain, and it was continuous.
"Old Li, it's almost time to turn off the lights and go to bed, why don't you do it tomorrow?" Zhang Haitao looked at Li Yi and reminded him.
"Yeah!" Li Yi nodded and stopped helplessly.
I don't know what's going on. At this moment, my thoughts are flooding, and the process of writing the program has become extremely smooth. It's like taking medicine. In the past, I was stuck, my thinking was rigid, and everything no longer existed. It was like a patient with long-term constipation. The child is smooth, the kind of smooth and refreshing, very high, and people are reluctant to stop for a moment.
Seeing that all the roommates were lying on the bed, Li Yi hurriedly went to the toilet to wash up, and then lay down on the bed.
With a "pop", Zhang Haitao pressed the light switch, and the dormitory suddenly darkened.
Li Yi, who was lying on the bed first, fell asleep in seconds, no, his consciousness appeared in the library.
Before Zhang Haitao turned off the lights, Li Yi stared at the black tattoo on his wrist, his consciousness came directly from the library, and he was going to look for books on programming.
Soon, Li Yi took a book called "Three-dimensional Particle Deduction Law" from the bookshelf dedicated to algorithm programming books and looked through it.
In this mysterious book, there seems to be a certain pattern in the arrangement of books on the shelf. The contents of the books are somewhat related, arranged from easy to difficult.
The content of this "Three-dimensional Particle Deduction Law" is related to the book Li Yi read before, and many knowledge points are extensions of the previous book.
Li Yi devoted himself to it, turning page after page, constantly absorbing the knowledge in the book.
Time flies, two weeks have passed.
The rhythm of Li Yi's campus life has undergone tremendous changes.
During the day, when he was in class, Li Yi chose a hidden position in the back row, which was convenient for lying on the desk and sleeping through the lessons.
Gradually, Li Yi gained the title of "Sleeping God" in the class.
When he returned to the dormitory, Li Yi sat in front of the computer desk, 'crackling' typing codes and writing programs, to the point of forgetting to sleep and eat.
In just over half a month, Li Yi seemed to be a different person. He stopped swiping his mobile phone and didn't like to go out. He sat at the computer desk every day, typing codes, and completely turned into an IT nerd who likes to sleep in class. .
Zhang Haitao, Lin Hang, and Liu Wenfeng were very surprised at the changes in Li Yi. They watched it silently and did not persuade them too much. After all, this was Li Yi's personal choice, and they had no reason to intervene.
In the blink of an eye, it was the weekend again, a quiet afternoon.
In the dormitory, Li Yi, who was busy at the computer desk, typed the last code and completed the modification of the program.
The algorithm addition tool runs the test normally.
Li Yi stretched comfortably, feeling extremely happy.
With the study of these "days", Li Yi has learned more than a dozen new algorithms in the "library". These algorithms must be added. At the same time, it is necessary to ensure that they are compatible and error-free.
With the backing of these new algorithms and the knowledge of countless books in the 'library', Li Yi feels that no matter what software program he writes in the future, he can easily win it.
Li Yi opened an empty package document, intending to design and develop a new software, ready to apply what he has learned and become familiar with the application of the new algorithm.
Then here comes the problem!
What kind of software do you write!
For a while, Li Yi had no idea.
"Old Li, what are you thinking? Are you done writing?" Zhang Haitao walked past Li Yi and asked curiously.
"Well, I'm done! Now I want to write something new, but I don't have any clues. UU reading " Li Yi leaned back in his chair and responded.
Hearing this, Lin Hang was speechless for a while, and said depressedly: "Why are you so tired! Old Chen can't finish his experimental homework? Do you still have time to do other things?"
"Will it be difficult? I'm done!" Li Yi asked with a slight smile.
The operation experiments assigned by Professor Chen were easily solved by Li Yi.
"I'm going, Lao Li, you sleep right after class, and you haven't listened to what Lao Chen taught. How did you do it? Did you learn it in a dream?" Liu Wenfeng asked with envy and jealousy.
Li Yi laughed and was really hit by Liu Wenfeng.
The knowledge learned in the 'library' is much more difficult than Professor Chen's course. Perhaps because the brain has been strengthened, Li Yi took the time to complete the course, and the knowledge in the textbook did not feel any difficulty.
"The group of guys in the class called you Sleeping God, and they all waited for the final exam to see your jokes. It seems that their ideas are going to fail." Zhang Hongtao looked at Li Yi and laughed.
"Really! I don't even know." Li Yi laughed dumbly.
"Old Li, your programming skills are advancing by leaps and bounds, do you understand penetration techniques?" Lin Hang looked at Li Yi and asked suddenly.
Li Yi was slightly taken aback, and quickly said, "I understand a little bit, why?"
The new algorithms and programming techniques learned in the 'library' are not a problem for network penetration.
"If you understand, go to hackerone and have a look! Maybe you can use your abilities to make money!" Lin Hang suggested.
"Hackerone? What website?" Li Yi asked in surprise, then followed Lin Hang's instructions to search for this website on the search interface.
When the website opens, it is a hacker website, a place where hackers from all over the world learn from each other, publish and receive tasks.