Chapter 50 Hello, my name is Su Yuanshan
Computers were quickly moved in.
As Su Yuanshan said, from top to bottom, I hope that this competition will be a purely technical, absolutely fair and just competition, so it must not have the slightest flaw - at least on the surface.
Su Yuanshan sat down in silence, and then looked at Chen Xiaochuanβhe saw that a trace of consternation had risen on Chen Xiaochuan's face.
Perhaps the head of the ministry has told him about his glorious deeds in Las Vegas.
But so what? As long as his relationship with his father is revealed in this unity, then he must prove himself, otherwise who will stop you?
At this time, Professor Hangdian, who had not been very open-minded, glanced at everyone and smiled helplessly: "Su Yuanshan, since you know algorithms, why don't you write a multi-dimensional array algorithm now, if you write a program, it will be delayed for a long time." β
Su Yuanshan nodded and glanced at the professor more.
The processing of multi-dimensional arrays is not difficult, but it is not easy to say that it is simple, which is just a practice problem for undergraduates. If he can complete it himself, then it will obviously prove that he has at least the strength of an undergraduate.
After clicking on C++ and thinking silently for nearly a minute, I began to write down the head-up note.
A simple Tetris game.
Tetris is the simplest use of multi-dimensional arrays, and it is not difficult to write it, two hundred lines of code are sky-high-the most important thing is that Su Yuanshan used this thing to practice in his previous life.
So he writes very quickly.
As he kept tapping the keyboard, the contestants behind him finally couldn't help but ask their teacher Su Yuanshan if the problem he completed on the spot was difficult and what level it was.
......
Time passed slowly, although the senior brothers and sisters of the electrical department wanted to see what Su Yuanshan had written, they could do it non-stop for half an hour, but the people in the front row did not move, and they were embarrassed to squeeze over.
As for the referees on the stage, the professors were also a little surprised. How can an array algorithm require so much code...... If Su Yuanshan didn't have that ability, he could only not know how to write, instead of crackling keyboard typing.
Only Su Xinghe roughly guessed what his son wanted to do.
If you simply write a few lines of code and dozens of lines of code, you will naturally be able to understand his level. But you really have to convince the public, unless you will write an application for the algorithm.
Finally, the first contestant couldn't sit still, he walked behind Su Yuanshan, wanting to see what Su Yuanshan was writing.
But he soon found that he could understand the annotations, but he couldn't understand what Su Yuanshan wrote at all.
With the first, there is the second, and the third.
Su Yuanshan pursed his lips, as if he inadvertently tilted his head, but found that the girl was still sitting in the distance, but the expression on her face became curious and unpredictable.
Sighing softly, Su Yuanshan finished writing the last note.
Click on the debugging, and an interface pops up.
A boy exclaimed from behind him, "You actually wrote a game?"
"The simplest application of multidimensional arrays is Tetris, so I wrote a random one. Su Yuanshan kept pressing the arrow keys, tested it a few times, and then exited the debugging and looked at the front desk.
Su Yuanshan got up slowly and looked at Chen Xiaochuan: "The finished Tetris is a total of 229 lines including annotations, please check it by the judges." β
*
*
After the judges looked at Tetris one by one, no one questioned Su Yuanshan's level.
No one in the room could be confident that he could complete the design of Tetris in less than an hour, let alone reduce the code to less than 200 lines.
The computer was revoked, and President Zhou came to make a rescue speech - in President Zhou's mouth, the hour that almost made Professor Su Xinghe, who was in the limelight in the electrical department, fall into the "back door" turmoil just now, became a meaningful episode.
After the leader of the ministry announced that the Q&A would continue, Su Yuanshan also met the girl's curious gaze, pursed his lips, and walked silently to the corner of the first row.
He saw it at the beginning that there was still a position next to Ye Rudai.
After Su Yuanshan sat down, even though his heart was uneasy, he still looked at the stage silently. only left his side face, and then observed Ye Rudai's expression with his residual vision.
He laughed self-deprecatingly in his heart, he didn't expect to meet his wife here and in this way. What about the "resistance love"?
Ye Rudai was also secretly observing Su Yuanshan.
As Su Yuanshan felt, when she first heard that Su Yuanshan was Professor Su Xinghe's son, she felt extreme distrust and contempt for Su Yuanshan, and even regretted that she would come to participate in this competition.
But as Su Yuanshan sat under the computer, and almost easily made up a Tetris in front of everyone, she knew that Su Yuanshan had real skills.
She remembered that Mr. Zhu Jianting once said that the simplest thing in programming is circulation, followed by calculation, and the most difficult is judgment, because that is the basis of all automation, just like the and non-gates in chip design.
Tetris is a judgment-based game that seems simple, but it's actually difficult, and even uses algorithms to make judgments.
You're so young......
Ye Rudai looked at the young man beside her with her spare eyes, and couldn't help sighing in her heart.
And it's a little cold.
Are all the masters so cold?
Just when Ye Rudai was speculating, the host on the stage called out her name.
"Yip Ru Dai, from Penang Secondary 2 High School, entered a salary counting program. β
Su Yuanshan's eyes froze!
Salary Counting Procedure?
Dai Peiye?
......
After completing the question and answer with the most perfect answer, Ye Rudai walked back to her seat.
She saw that the young master sitting next to her was looking at her, and there seemed to be a faint smile in his eyes.
Ye Rudai also smiled slightly, then retracted her gaze and sat down to discuss her ranking with her instructor.
Ye Rudai bit her lip and lowered her voice: "Teacher Wang, how many do you think it can be?"
"It's a pity that I didn't get the special prize. The teacher surnamed Wang glanced past her and glanced at Su Yuanshan, smiled and cheered Ye Rudai up, "It should be no problem to be in the top five." I've looked at other people's, and they're all designed to be about the same level of difficulty as yours. But in terms of practicality, yours is better. β
"Hmmm!, but still a little nervous. The girl took a soft breath, sat upright, and glanced at her side again.
In the afterglow, Su Yuanshan still looked at her with a smile.
"No, I think you should be number one in the first prize. β
Su Yuanshan stared at Ye Rudai's somewhat baby fat face, gradually overlapping her appearance from memory, and said slowly with a smile.
Ye Rudai turned her head instantly: "Ah? Why?"
"Because your code ......"
Su Yuanshan suddenly closed his mouth, stared at the curiosity hidden in Ye Rudai's picturesque eyebrows, smiled and took a breath.
"Do you have pen and paper?"
"Yes. β
"Lend it. β
Ye Rudai took out a notebook and a pen from her small schoolbag in confusion.
Su Yuanshan opened the notebook and smiled when he saw the torn page.
Pick up a pen and draw a small boat in the margin, then write the text in annotated format under the boat.
/*Trust my vision, you will definitely be the first!Don't forget to delete this paragraph, above*/
Looking at the annotations, especially the "warm tips" at the back, Ye Rudai exclaimed in surprise and gently covered her mouth, her beautiful eyes were full of surprise.
Su Yuanshan continued.
"Hello, my name is Su Yuanshan, it's a pleasure to meet you. β
[Recommended Ticket Gate]