Chapter 121: Early Passage
(New book period, ask for flowers, ask for collection!) "You don't proctolate, what are you doing in a hurry?" When Xiao Yuan followed Xu Xiaoyang in the direction of the office building, he asked puzzledly.
"Not because of you?" Xu Xiaoyang said.
"Because of me?" Xiao Yuan was even more puzzled.
"We couldn't understand the last program you wrote, so for the sake of prudence, we decided to find a computer to compile and run it." Xu Xiaoyang explained.
"Oh." Xiao Yuan suddenly realized, and then smiled embarrassedly, "I'm really embarrassed, when I wrote that program, I only thought about how to write it concisely, and I didn't think about anything else, but I was making trouble for you, you know, I should have written another one at that time." ”
"What else would you do?" Xu Xiaoyang turned his head in surprise and asked.
"Yes, it's just a lot more verbose than the method I wrote, and it's also inefficient, or I'll rewrite it again, and I won't have to bother to verify it." Xiao Yuan said that he now regrets writing the previous program, and the reason why he chose that method at that time was completely a subconscious habitual behavior, but he didn't expect that there would be such trouble.
"Forget it, if your program compiles and runs correctly, it will definitely give you extra points." Xu Xiaoyang waved his hand and said, while speaking, they came to the office building, went up the stairs to the fifth floor, and came to the first computer room of the School of Computer Science.
The computer room of the School of Computer Science of Jiangzhou University is much higher than that of Nanzhou No. 1, but because the computer room was built relatively early, the computers inside are much older than those of Nanzhou No. 1, and a considerable part of them are still at the level of 486 and a generation of Pentium, and only the computer room administrator, Duan Yanyue and Liu Dong are there.
Duan Yanyue saw Xu Xiaoyang walking in with Xiao Yuan, stood up from the computer, and asked, "Xu Xiaoyang, is there something wrong?" ”
"That's the case, Xiao Yuan has finished the programming questions in the second round of selection, and I'll verify a program he wrote." Xu Xiaoyang explained.
"Doesn't it mean that as long as the program process is okay, don't pursue too many grammatical details, why do you have to verify it?" Liu Dong raised his head, frowned and asked.
"It's only been less than an hour, and Xiao Yuan has finished the test paper?" Duan Yanyue was obviously concerned about another issue, and at the same time, a pair of slightly narrow Danfeng eyes kept looking at Xiao Yuan, who was following behind Xu Xiaoyang.
"It took Xiao Yuan half an hour to finish all the questions, and there were no problems with the previous questions, but the last additional question, he wrote a program that we couldn't understand very well, and he couldn't judge right or wrong, so for the sake of prudence, he came over to compile and run it on the machine." Xu Xiaoyang answered both Duan Yanyue and Liu Dong's questions at one time.
"What kind of program, show me first." Duan Yanyue's eyes lit up and said with interest.
Xu Xiaoyang handed the test paper to Duan Yanyue, she flipped through Xiao Yuan's previous answers, and praised: "These questions can be done in half an hour, which is really good." ”
Xiao Yuan smiled indifferently and didn't speak, this kind of praise was like praising a high school student for doing a set of elementary school test questions correctly, there was nothing worth him happy about at all, but what he didn't expect was that this kind of indifference made Duan Yanyue's evaluation of him a few points higher.
Duan Yanyue finally focused her attention on the logical judgment program written by Xiao Yuan, and after reading it for a few minutes, her brows were slightly furrowed, and after a while, she raised her head and asked, "Xiao Yuan, tell me about your specific thoughts on this algorithm?" ”
"Did you pass the second round and enter the third round of interviews?" Xiao Yuan frowned slightly and asked, although he was very interested in this girl, but her condescending question made him feel a little uncomfortable.
"Hehe, sort of." Duan Yanyue looked slightly stunned, and then said with a smile.
"The second additional question is a logic problem, and the basic idea of writing this program is that no matter how complex the logical operation is, it can be converted into the sum or non representation of binary 0 and 1, and the result can be obtained through the operation of binary digits......"
Xiao Yuan said that the main idea of his writing this program, in short, is to transform complex logical operations into direct binary calculations, and the program he wrote on the test paper is like this, completely using the ability of the C language to operate the underlying binary digits, and converting the logical conditions in the question into binary bit string representations, through the operation of these binary bit strings, so as to get the final result, such an algorithm should actually be talked about in the college C language programming, Xiao Yuan also used some binary digital inverse complement operations in this, while improving the efficiency of the algorithm, the readability of the program was a little worse, and the annotations he wrote on the test paper were also very concise, which should be the reason why Xu Xiaoyang and they couldn't understand it.
In just a dozen lines of procedure, Xiao Yuan had to come to the podium in front of the computer room in order to explain it thoroughly under Duan Yanyue's continuous questioning, pick up chalk and write while speaking, and when he finished speaking, the blackboard was already full of dense handwriting.
Xu Xiaoyang was sweating profusely as he listened, and he couldn't imagine that the program, which only had a dozen lines, contained so many computer theories, some of which were beyond the scope of his sophomore undergraduate study, so that later, he had the illusion that it was not a student who was standing on the podium to explain, but a well-educated computer professor.
"President Duan, I don't know if I've passed the test?" Xiao Yuan patted the chalk ash on his body, threw the remaining chalk head into the chalk box on the table in front of him, returned to Xu Xiaoyang's side, and asked with an indifferent smile.
"Your theoretical knowledge is definitely enough, but you still have to answer a few questions from me." Duan Yanyue looked at the childish-looking boy in front of her with interest, and asked with a smile on her face.
"What's the problem?" Xiao Yuan asked.
"Do you know what kind of organization the Association for Computing Machinery is?" Duan Yanyue asked.
"The Association for Computer Machinery is an unofficial organization spontaneously formed by computer enthusiasts, and the purpose of the association is to promote computer technology in schools, stimulate students' interest in computers, and cultivate students' basic computer ......skills," Xiao Yuan said.
"It seems that you understand quite clearly, then you should also know that with your current technical level, in fact, you can't learn anything more useful from the Computer Association, I want to ask you, why do you still want to join this organization?" Duan Yanyue asked again.
"Hehe, in fact, the reason why I came to sign up is because I have a bit of a relationship with the Computer Association, and I have long admired President Duan's reputation, and I think it is a very rare opportunity to have dinner with you, so I signed up." Xiao Yuan replied, this reason can be regarded as a mixture of truth and falsehood, which is remarkable, and there should be no loopholes.
"I see, okay, you've got the answer." Duan Yanyue said with a slight smile.
"So I passed the interview?" Xiao Yuan asked.
"Yes, you passed, congratulations." Duan Yanyue said.
"Thank you." Xiao Yuan said with an indifferent smile.
Xu Xiaoyang was also very happy to hear Duan Yanyue's confirmation on the side, and at the same time did not mention the matter of program verification, because with Xiao Yuan's explanation just now, the correctness of this program has been deduced by Xiao Yuan in the process of explanation, and it is more than one step to verify it.
Seeing that there was nothing to do, Xiao Yuan was about to leave, but was stopped by Liu Dong.
"Xiao Yuan, you are the first opponent worthy of my attention."
"Thank you, but if you want to get my attention, you need to show real skills." Xiao Yuan said with an indifferent smile.
"Soon it will be." Liu Dong replied.
"I'm looking forward to it." Xiao Yuan said again, after saying this paragraph that only the two of them could understand, under Duan Yanyue's puzzled gaze, he left the computer room with a confused Xu Xiaoyang.
ps: Today's two more, the first one is delivered.