Chapter Ninety-Three: Screening and Tickets

"This is the Fibonacci sequence......"

Xiao Jialin didn't wait for the girl in front of her, who was obviously not studying computers, or even a college student, to finish speaking, so he picked up a small paper bag printed with the logo of the thinker stationery company from the workbench and said, "Congratulations, you got it right." Pen | fun | pavilion www. biquge。 info”

The girl who looked to be only sixteen or seventeen years old took the paper bag, opened it and looked at it, and saw that it contained three postcards, printed with ink paintings and ancient poems, exquisite and elegant, she liked it very much, but was not satisfied, pointed to a row of notepads piled on the left side of the workbench, and asked: "Why do you give someone someone a notepad and only give me a postcard?"

From 8 o'clock in the morning on April 30, Xiao Jialin sat in the corridor on the first floor of the multi-functional lecture hall of Sanjiang University to distribute gifts, two days later, this kind of question has been asked hundreds of times, feeling both bored and helpless, weakly raised a pencil, dotted on the poster in front of him, and said: "If you can optimize this code, you can get a notepad." ”

The girl really didn't understand, blinked her eyes and asked, "How to optimize?"

Xiao Jialin shrugged his shoulders and spread his hands, and put on a posture that he couldn't help.

The girl felt despised and made a grimace at him very unpleasantly, and then left with a small paper bag, at this time Zhang Dongliang, who was in the same dormitory, walked in from outside the lecture hall and asked, "Xiao Jialin, how many notepads have you sent out in the past few days?"

"It's about 130 copies. ”

Zhang Dongliang supported the workbench with both hands, and sighed with emotion: "Now our school's face is going to be lost, I heard that Yunda has sent out almost 200 copies, and the University of Science and Technology has sent out four or five hundred copies." ”

"Of course we can't compare with the University of Science and Technology, but can there be so many people who know programming in Yunda?" Xiao Jialin was a little unconvinced, and said: "Even if they are stronger than us, they are only weak, and they won't cheat by memorizing answers, right?"

"Didn't Secretary Jiang say it, it's not enough to just write out the code, you have to explain why you did it, and besides, it's impossible for the pony and a few of them to release water to Yunda's people. Zhang Dongliang gently patted the poster on the workbench with the palm of his hand, and said: "If you hadn't discovered the time complexity problem in this code that day, Xiaoma and I would have been embarrassed. ”

"It's just a matter of luck, I changed my graduation project a few days ago, and I was about to use recursion, so I thought about it a little more. ”

After a few modest words, Xiao Jialin leaned over and picked up a notepad, on the cover of the notebook was a black bicycle wheel, and a famous sentence was written on the wheel in white font: Life is like cycling, if you want to maintain balance, you have to keep moving forward. In the lower right corner of the cover, there is a square in white letters on a red background, marked with the name of Albert Einstein.

The pattern is concise, the font is concise, the style is rigorous and cold, and the previous thinker'notebook full of literary atmosphere is completely different, very in line with the aesthetics of science and engineering students, Xiao Jialin appreciated it for a few seconds, opened the cover, and saw a bookmark sandwiched on the title page, and a title was written on the bookmark:

Write a function in C language without using other library functions to convert strings to integers.

At first glance, this problem seems very simple, just convert a string such as "123" into an integer 123 output, a few lines of code can be solved, and many novice programming novices can write it.

But after repeated pondering, Xiao Jialin feels that this topic is not simple, because in addition to the normal string, there are empty strings such as "", if you set the empty string output as an integer 0, it will conflict with normal strings such as "0", and you need to distinguish it, if you think about it further, there are a series of problems such as empty pointers, illegal strings, special strings, etc., which are very troublesome, and they are definitely not just a few lines of code that can be solved.

There is also a line of eye-catching text below the bookmark: If you have completed this question, please go to the first floor of the multi-purpose lecture hall of Sanjiang University before 2 p.m. on May 2 to receive a more exquisite gift.

"Xiao Jialin, I heard that when you went to the Institute of Quantum Physics yesterday afternoon, you met Du Qiu himself, what kind of person is he?"

"I saw him for ten minutes, and I don't know what kind of person he is. Xiao Jialin put the notepad back into the distance and said, "But I feel that he is as attractive as a movie star." ”

"Damn, you're not a freshman or sophomore girl, what kind of are you. ”

"I'm not talking about his looks, I'm talking about his ability to do things and program. Xiao Jialin didn't have any talent for language, and he didn't know how to describe it after thinking about it for a long time, so he had to find a not very suitable analogy and said: "It's like the mercury man in "Terminator 2", cool and powerful. ”

"The Mercury Man is the villain. ”

"Of course I know it's a villain, but you can't deny that he's very attractive, isn't it?" Xiao Jialin saw Zhang Dongliang nodding, and then further explained: "Mercury people can switch bodies freely, and Du can switch ideas freely, and deal with several completely different types of things at the same time, and the efficiency is very high, which is amazing." ”

"How do you know?"

"They work in a warehouse at the Institute of Quantum Physics, which is very large and divided into four areas. Xiao Jialin drew a sketch of the field character on the poster with a pencil, pointed to different areas and introduced: "This is the office software R&D area, this is the operating system R&D area, this is the database system R&D area, and this is Mr. Du's office area." ”

"Damn! They even do an operating system? It's not going to be bluffing, is it?"

"Probably not, when I went yesterday afternoon, there was already a big man who came back from the United States to work in the operating system area, and he often went to ask Mr. Du questions. When Xiao Jialin said this, he unconsciously showed an expression of admiration, and said: "Mr. Du is writing a software for making websites, which has nothing to do with the operating system, but the problem of that cow, he can always solve it quickly, and sometimes even write his own program while answering, and it will be done in a few words, do you say it is amazing?"

"What's the problem?"

"I listened to it for a long time, and I didn't understand a word. Xiao Jialin smiled self-deprecatingly and said: "We don't even know what the Internet looks like, people have developed the world's top browsers, and the gap is too big." ”

"According to what you say, then this Du Qiu is indeed enough, and he is still self-taught. ”

"yes. ”

The two were chatting, and three students came over from outside the lecture hall and said loudly, "Dude, we have already made the title on that bookmark, hurry up and take out the exquisite gifts." ”

"Show me the answer. ”

The student at the head took out a piece of paper and handed it to Xiao Jialin, who gave it back to him after only looking at it, and asked, "How to deal with empty strings?"

The student paused for a moment, then suddenly realized, took out a ballpoint pen from his trouser pocket, and said, "I'll change it." ”

"What should I do with illegal strings?"

"I'll change it again. ”

"What about special strings?"

After they left, Xiao Jialin said to Zhang Dongliang with some fear: "Fortunately, after getting the topic the day before yesterday, we studied it carefully for a night, otherwise when I went to see Mr. Du yesterday afternoon, I would be more embarrassed than them." ”

Zhang Dongliang nodded approvingly, and asked, "What did Mr. Du say about you?"

"He said I was barely a good coder. Xiao Jialin showed a self-deprecating expression again, and said: "Code farmer is a term coined by Mr. Du, which means that farmers who write code can only do some basic programming work, hehe, we have been in college for four years, and we think we are amazing, but in the eyes of others, we are just a farmer, and only a barely qualified." ”

"Cut! He's ...... oldest."

At this time, it was almost 9 o'clock, less than 5 hours before the 2 o'clock speech in the afternoon, more and more students came to submit the answers to the questions on the bookmark, but they were all sent away by Xiao Jialin's rhetorical question, until about 10 o'clock, only a few junior students of the Department of Computing got the gift, the gift was also a notepad, but it was replaced with a leather travel notebook that was no longer on sale, and it was also equipped with a special kraft paper sleeve.

In the middle of the envelope, a famous sentence in the "Analects" was handwritten in regular script: If you are a threesome, you must have my teacher. The handwriting is dignified and beautiful, and the spirit is free, and three rows of text are printed in small lead movable type, the first row is Du Qiu's name, the second row is the logo and name of Snapdragon Software Company, and the third row is the time and place of the speech.

"This envelope is the ticket to the presentation, and at 2 p.m., welcome to come and cheer. ”

"Wow! This Snapdragon software company is really awesome, and even the lecture tickets are so particular. ”

"It's a very difficult question, I don't think many people can get tickets, wouldn't it be very bad if it was empty at that time?"

"It is said that in addition to the students of our school, the students of Yunda and Polytechnic University will also come, and it will definitely not be empty. ”

At 12 noon on May 2, Chen Zhiyang entertained Du Qiu in the small canteen dedicated to faculty and staff of Sanjiang University.

"As of 11:45, a total of 196 students have received tickets, of which the University of Science and Technology has the most, with 107 people, and Yunnan University and our Sanjiang University have more than 40 each. After Cai Xinghuo reported the numbers, he proposed: "Principal, there are only 208 seats in the multi-functional lecture hall, do you think you should arrange some temporary seats?" I estimate that when Mr. Du starts his speech at 2 o'clock, I am afraid there will be more than 300 people. ”

"You can arrange some temporary seats, and if you can't sit down, just stand in the back. Chen Zhiyang was in a good mood when he saw that the speech was very popular, wiped his hands with a warm towel, and said: "There are many more students in the computer science department of Yunnan University than us, and only more than 40 people have answered the questions correctly, so it seems that the teaching strength is not as good as ours." Du Qiu, how many students are you going to recruit in our school?"

"It depends, if there is a suitable one, recruit a few more. ”

Chen Zhiyang didn't care about the employment of students, put down the towel, and said: "I didn't expect you to be a master of calligraphy, the words on the ticket are both beautiful and generous, you really wrote it yourself?"

Jiang Danfeng consciously took over this boring topic, and said with a smile: "Principal Chen, I can guarantee that this is indeed written by Mr. Du himself, because I have to polish his ink every night for the past two days, you see, his nails are black." ”

"Good, good, in ancient times, there were red sleeves to add fragrance to read at night, and now there are red faces to write at night. Chen Zhiyang stroked his palms and laughed, and said approvingly: "Du Qiu, you wrote the ticket for the speech by yourself, you are humble and sincere, if this matter is spread, it will become a beautiful talk." ”

"Uncle Chen has won the prize. ”

Chen Zhiyang laughed again, laughing very happily, he thought about borrowing Du Qiu's knife to open the deadlock, promote the career further, today's speech is a very important move, I was worried that Du Qiu could not bear the pressure and messed up, but I didn't expect that he not only did not have stage fright, but swayed freely, and played a wonderful marketing show, even if the speech itself was lackluster, it was enough to become a good story in the academic world, and this good story will become a medal on his resume and a booster for his progress.

…………

Note 1: The notebook cover design is based on the Design-Different series of works by Canadian graphic design master Ryan-McArthur.

Note 2: The programming questions in the book are taken from "Sword Pointing to Offer: Interviewers of Famous Enterprises Teach Typical Programming Questions".