Chapter 50 Hello, my name is Su Yuanshan
The computer was moved in quickly.
As Su Yuanshan said, from top to bottom, I hope that this competition is a purely technical, absolutely fair and just competition, so it cannot have any flaws - at least on the surface.
Su Yuanshan sat down silently, then looked at Chen Xiaochuan - he saw that a hint of astonishment had risen on Chen Xiaochuan's face.
Perhaps the leaders of the department have told him about his glorious deeds in Las Vegas.
But so what? As long as the relationship between himself and his father is revealed in this situation, he must prove himself, otherwise who will stop him from talking about it?
Professor Hang Dian, who had not spoken much at this time, glanced at everyone and smiled helplessly: "Student Su Yuanshan, since you understand algorithms, why don't you write an algorithm for a multi-dimensional array now? If you write a program, you will be delayed for a long time."
Su Yuanshan nodded and took a look at the professor more.
It is difficult to deal with multi-dimensional arrays, but it is not easy to say, but it is just an exercise for undergraduates. If you can complete it yourself, it will obviously prove that he has at least the strength of an undergraduate.
Click c, and after thinking for nearly a minute, he began to write down the head-up notes.
//A simple Tetris game.
Tetris is the simplest use of multi-dimensional arrays, and it is not difficult to write them out. Two hundred lines of code are the best. The most important thing is that Su Yuanshan has used this thing to practice in his previous life.
So he wrote very quickly.
As he kept ringing the keyboard, the contestants behind him could not help but ask their teacher Su Yuanshan whether the question was difficult or what level was.
...
Time passed slowly. Although the senior brothers and sisters of the Electrical Science Department wanted to see what Su Yuanshan wrote, they could do it for half an hour without stopping, but the front row did not move, and they were embarrassed to squeeze in.
As for the referees and professors on the stage, they were also a little surprised. How could an array algorithm require so much code... If Su Yuanshan didn't have that ability, he could only not know how to write it, instead of typing on the keyboard without stopping.
Only Su Xinghe guessed roughly what his son wanted to do.
If you simply write a few lines or dozens of lines of code, you will naturally understand his level. But if you really want to convince the public, you will not write a single algorithm to apply it.
Finally, the first contestant couldn't sit still. He walked behind Su Yuanshan and wanted to see what Su Yuanshan was writing.
But he soon discovered that he could understand the annotations, but he could not understand what Su Yuanshan wrote at all.
With the first one, there is the second one and the third one.
Su Yuanshan pursed his lips and seemed to turn his head inadvertently, but found that the girl was still sitting in the distance, but the expression on her face turned into curiosity and uncertainty.
Sighing softly, Su Yuanshan finished writing the last comment.
Click on debugging, and an interface jumped out.
A boy's scream came from behind: "You actually wrote a game?"
"The simplest application of multi-dimensional arrays is Tetris, so I wrote one casually." Su Yuanshan kept pressing the arrow keys, tested it a few times, then exited the debugging, looking at the front desk.
Su Yuanshan slowly stood up and looked at Chen Xiaochuan: "What is done is Tetris, and there are a total of 229 lines of comments. Please check the judges."
*
*
After the judges looked at Tetris one by one, no one questioned Su Yuanshan's level.
No one present was confident that he could complete the Tetris design in less than an hour, not to mention that he also streamlined the code to less than two hundred lines.
The computer was cancelled, and Principal Zhou came to deliver another rescue speech. In Principal Zhou's mouth, the hour that had almost turned Professor Su Xinghe's trap storm, who was in full swing in the electronics department, turned into a meaningful episode.
When the leaders of the department announced that the Q&A would continue, Su Yuanshan also faced the girl's curious eyes, pursed his lips, and walked silently to the corner of the first row.
He saw from the beginning that there was another place beside Ye Rudai.
After Su Yuanshan sat down, even though he was in a state of ease, he still looked at the stage silently. He only left his side face, and then observed Ye Rudai's expression with his eyes.
He smiled self-deprecatingly in his heart, and he didn't expect that he would meet his wife in this way here. What about the promised "resistance love"?
Ye Rudai was also secretly observing Su Yuanshan.
As Su Yuanshan felt, when she heard that Su Yuanshan was Professor Su Xinghe's son, she felt extremely distrust and contempt for Su Yuanshan, and even regretted that she would come to participate in this competition.
But after Su Yuanshan sat under the computer and made up a Tetris in front of everyone, she knew that Su Yuanshan had real skills.
She remembered that Teacher Zhu Jianting once said that the simplest thing in programming is loops, followed by calculation, and the most difficult thing is judgment, because that is the basis of all automation, just like the AND and NOR in chip design.
Tetris is a judgment-based game. It seems simple, but it is actually difficult. Algorithms can even be used to make judgments.
So young...
Ye Rudai looked at the boy beside him with his eyes and sighed in his heart.
And it's a bit cold.
Are all experts so cold?
Just as Ye Rudai was making random guesses, the host on the stage called out her name.
"Ye Rudai is from the second year of Penang No. 2 Middle School. The entry is a salary statistics program."
Su Yuanshan's vision converged!
Payroll statistics procedure?
Dai Peiye?
...
After completing the Q&A with the most perfect answer, Ye Rudai walked back to his seat.
She saw that the young master sitting beside her was looking at her, with a faint smile in her eyes.
Ye Rudai also smiled slightly, then withdrew her gaze, sat down and discussed her ranking with her instructor.
Ye Rudai bit her lip and her voice was very low: "Teacher Wang, how many names do you think you can have?"
"It's a pity that I can't win the special prize." The teacher named Wang looked over her and looked at Su Yuanshan, smiled and cheered Ye Rudai, "It should be no problem with the top five. I paid attention to the others. Their design difficulty is similar to yours. But in terms of practicality, yours is better."
"Yeah! But I'm still a little nervous." The girl took a light breath, sat up straight, and glanced at her side again.
Yu Guangzhong, Su Yuanshan still looked at her with a smile.
"No, I think you should be the first prize."
Su Yuanshan stared at Ye Rudaishang's fat face, gradually overlapping her from her memory, and said slowly with a smile.
Ye Rudai turned his head instantly: "Ah? Why?"
"Because your code..."
Su Yuanshan suddenly closed his mouth, stared at Ye Rudai's painting-like curiosity hidden in his eyebrows, and took a breath with a smile.
“Are there paper and pen?”
"have."
"Borrow it."
Ye Rudai took out his notebook and signature pen from his schoolbag in confusion.
Su Yuanshan opened the notebook and smiled when he saw the torn page.
Pick up the pen, draw a boat in the blank space, and then write the text under the boat in the form of annotations.
/*Believe in my eyes, you will definitely be the first! Don't forget to delete this paragraph, the above*/
Looking at the notes, especially the "warm reminder" behind them, Ye Rudai exclaimed, gently covering her mouth, and her beautiful eyes were filled with surprise.
Su Yuanshan continued to write.
"Hello, my name is Su Yuanshan, I'm very happy to know you."
[Recommended ticket]
Chapter completed!