Chapter 92 Dormitory and Code
Jiang Danfeng drove the brand new Accord and drove Cai Xinghuo into the campus from the main entrance of Sanjiang University, asking: "Teacher Cai, where is the dormitory building for computer majors?"
"Driving along the main road, turn left when you arrive at the Science and Education Building." Cai Xinghuo pointed out the road, and then asked anxiously: "Miss Jiang, what do you think of me or our school?"
"Teacher Cai misunderstood. Our Mr. Du is very particular about the distinction between public and private affairs. This is always the case when working." Jiang Danfeng said lightly as an experienced person: "The genius' thinking is different from that of ordinary people. He has his own ideas, so we can just do it."
"The iView developed by Mr. Du is very popular in the United States now?"
"Yes, more than 500,000 users have been used. Many professional media in the United States have reported it, such as "Computer World" and "Red Herring", etc., which cannot be fake."
"I don't doubt Mr. Du, I can't believe it." Cai Xinghuo felt that he was misunderstood by the beauty, and was very frightened. So he spoke without saying a word and said in very exaggerated words: "After I got Mr. Du's information from Principal Chen yesterday, I thought I was reading the resume of a Nobel Prize winner. I admired it so much, so I wanted to know more."
Jiang Danfeng laughed at me, stopped talking, and drove with peace of mind. He soon arrived at the dormitory building where the 1995 Computer Science and Applied Technology Class was located. After parked the car, she asked, "Teacher Cai, can I go into the boys' dormitory?"
"Of course, but it's very messy inside. I'll go up and notify the group of animals first." Cai Xinghuo held a thick stack of promotional posters, pushed open the car door and turned his head and said, "I'll come down to pick up Miss Jiang after I'm packing up."
"Then I'm sorry, Teacher Cai." Seeing that the stack of posters was very thick, Jiang Danfeng said, "Teacher Cai, just take a few pictures up. Put the others in the car first, and I'll post them later."
"Okay, OK."
Cai Xinghuo took a few A3 paper-sized posters, followed the dirty stairs, strode up to the 4th floor, and walked into a dormitory with open doors. There were four students sitting at the desk playing poker, and there were a few people watching, shouting and making a lot of lively.
"Xiao Jialin, Zhang Dongliang, stop playing cards. Put the quilt on the ground, clean up the things, and throw away the garbage and other things quickly. When a big beauty is coming up."
Cai Xinghuo studied history as a very unpopular graduate student and could not find a good job after graduation, so he stayed at school as a counselor. He knew that with the development of technology, the computer major will become more and more popular and opportunities will be more and more. These college students are likely to become successful or have a wealthy family after graduation. Therefore, they have been deliberately making good relationships with the students and getting along with each other, and treat them as future emotional investments.
Because of this, he is very popular among the students and has a lot of prestige. Several students are very obedient and throw away the playing cards, fold the quilts, sweep the floor, and ask while busy: "Teacher Cai, what beauty is? Where is it?"
"Teacher Cai, is your relationship coming to comfort us poor students?"
"I think Teacher Cai is kind-hearted and plans to introduce our girlfriend to us, hahaha..."
"Don't mess around, be serious!" Cai Xinghuo clenched his fist and knocked on the door, making a thumping sound, and reminded him seriously: "It's a beauty from Snapdragon Software Company. Their boss is going to give a speech at our school and recruit employees by the way. Now send the secretary to see it first. You should change into clean clothes and comb your hair to give people a good impression."
"What is the origin of Snapdragon Software Company?"
"Is it the awesome company in Beijing with a monthly salary of over 10,000 yuan?"
"That's right, that company." Cai Xinghuo put the poster on a bed where the quilt had just been folded, and then helped to clean up the garbage by himself. At the same time, he introduced: "They, Mr. Du, moved the company to Yuncheng and are recruiting on a large scale. His monthly salary starts at 2,000 yuan. Even if he has signed a work contract, it doesn't matter. The company helps pay liquidated damages."
"Didn't you say that the monthly salary is over 10,000 yuan? Why is it only 2,000 yuan?"
"The monthly salary of over 10,000 yuan is for senior programmers. How can fresh graduates give so many?"
"Damn! You look down on us fresh graduates?"
"2,000 is already a lot. Among our graduates who signed contracts independently, the salary is only over 1,000 yuan." Cai Xinghuo took out a pair of stinky sneakers from under the bed and threw them into the dormitory next door. Then he walked back and said, "Don't be too ambitious. The boss of Snapdragon Software is very powerful. The recruitment standards are very high, and it is not so easy to get in."
"What a powerful method?"
Cai Xinghuo opened his mouth, intending to report Du Qiu's resumes like a dish name, but he felt it was too incredible when he said it. The students would definitely not believe it, so he picked up the poster that was put on the bed just now and said, "This is the recruitment poster made by their boss himself. Look at what it means?"
One of the students wearing Inter Milan football uniforms took a photo first. The poster was very simple, exactly the same as the notepad posters posted on the wall in the dormitory. A few short lines of C language code were printed in the middle, and the following is a line of prompt text: If you understand this code, please go to the first floor of the multi-functional lecture hall of Sanjiang University from April 30 to May 2 to receive a beautiful gift.
"What do these lines of code mean?"
"This is very simple, it is to generate the nth number of the Fibonacci sequence." The student returned the poster to Cai Xinghuo with some disdain and asked with a smile: "Teacher Cai, what is the exquisite gift?"
"The Thinker’Notebook notepad specially customized by Snapdragon Software Company is quite beautiful, and it will probably cost a lot of money if you buy it."
"Oh, that's great. When can I get it?"
"Didn't it be written above? It's enough tomorrow." Seeing that the dormitory environment could barely be read, Cai Xinghuo put a few posters on the desk and said, "I'll go downstairs and invite the beautiful girl to come up and talk to you."
"Go quickly and go quickly. Our dormitory has never been in, and we are finally going to be consecrated today."
"That's right, there are only 5 girls in the class, none of them are beautiful women. We dozens of strong men have been withered for four years and are already so hungry."
"You are serious, don't talk nonsense. They are here to do serious business, and they are not small." Cai Xinghuo walked to the window, pointed to the car downstairs, and said, "Hey, they are here in high-end imported cars. Don't be ungrateful, put the key points."
"Don't worry, Teacher Cai, we promise not to be confused..."
"We must earn both wealth and sex, and have both people and cars!"
Jiang Danfeng is a girl with a strong desire to consume. When he was in the United States, he earned about $6,000 in total. Except for the money left to his parents, the rest were purchased and bought a bunch of clothes, shoes, bags and cosmetics back to China. Therefore, he dressed very fashionablely. When he walked into the gray boys' dormitory in a bright red windbreaker, he was like a rose suddenly blooming in the desert, eye-catching and gorgeous, making everyone's eyes lit up and breathing stagnant.
The dormitory layout of Sanjiang University is similar to that of Beijing Business School. It is both a standard six-person room, but there are eight beds. The two lower bunks near the door are used as utility rooms, full of various items. Although I just cleaned up, it still looks messy. There is a wide and long desk in the middle of the room, making the already narrow dormitory more crowded.
"Miss Jiang, please sit down."
"Thank you." Jiang Danfeng himself is also a student who has not graduated. He feels very intimate about the decorations in the house. He sits down on the stool openly, then goes straight to the subject, points to the poster on the table, and asks: "Have you seen this code?"
There were seven or eight students in the dormitory, but they were shocked by her beauty. No one was talking nonsense, and no one answered. They seemed to be worried that they would lose their impression points when they said the wrong thing. A moment of tranquility appeared. Seeing that the situation was cold, Cai Xinghuo gently kicked the student in Inter Milan uniform and rescued: "Xiao Jialin, don't you know?"
"This is the code that generates the nth number of the Fibonacci sequence."
"Do you think there is any problem with this code?"
Xiao Jialin was stunned for a moment, lowered his head and read the code again, and then said hesitantly: "As n increases, the amount of calculation increases exponentially, and the execution time will become longer and longer."
Jiang Danfeng asked the other students one by one without comment. Seeing that everyone agreed with Xiao Jialin's point of view, he asked again: "If you want to improve, how should you change it?"
The Fibonacci sequence is a very wonderful sequence, starting from 0 and 1, and then each number is composed of the first two numbers added, such as 0, 1, 1, 2, 3, 5, 8, 13... This is a very typical recursive relationship. Therefore, many computer programming textbooks use it as an example when explaining recursive functions, so Xiao Jialin can see at a glance what the code on the poster means.
However, it is a bit difficult to improve this code. Xiao Jialin and several classmates whispered for a while, found a pen, added a few lines of code to the poster, and then explained: "Save the calculated intermediate number. If you need it next time you calculate it, look it up first, so that you avoid repeated calculations, and the time complexity will be greatly reduced to O(n)......"
Jiang Danfeng took out his notepad, and while listening, she compared the standard answers provided by Du Qiu. After the explanation, she closed the notepad, stood up, clicked on Xiao Jialin and the active students just now, and said with a smile: "You are all excellent. We are conducting recruitment activities in front of our company at universities. We are short of staff. I wonder if you are willing to help? If you want to, give a subsidy of 100 yuan a day."
Senior students have a leisurely life and have nothing to do. They have money and invite beautiful women, so naturally there is nothing they don’t want to. Jiang Danfeng registered his names one by one and then took them away.
She had just left, and the remaining unselected students were talking like a blowout.
"What does this beauty mean?"
"Xiao Jialin is really lucky. After writing a few lines of code, she was added by the beautiful girl and worked in a large company with a monthly salary of over 10,000 yuan."
"Bad! They just asked them to work temporarily, but they didn't say they wanted to recruit them to work in the company."
Chapter completed!