The competition was divided into three days, namely the preliminaries, the knockout rounds and the finals. With the cooperation of senior sister Lanxi, Lin Yan easily entered the finals.

According to them, God Su is God Su, whether it is solving conjectures, math competitions, or the current programming competition, there is no pressure, as if there is no field that he is not good at.

I'm too embarrassed to praise Lin Yan!

There were a total of ten teams in the finals, and the two teams representing Qingda all made it in. They deserved to be the best key universities in Huaxia Science and Technology.

There are ten questions in the final, and each question corresponds to a balloon of a color. The team that passes the question will get a balloon of the corresponding color, and the first team to solve each question will get an extra balloon.

No matter what Lin Yan did, he always wanted to be the first, and it was the same for this programming competition.

Unexpectedly, before the competition, senior sister Lan Xi told him something in private, and only then did he know how important this programming competition is to senior Song Yu.

Senior sister Lanxi asked him: "God Su, do you really want to become the No.1 champion?"

Lin Yan answered without thinking, of course, who would have trouble with No.1?

After Lan Xi heard it, he hesitated to say something, and finally said: "The game is about to start, let's go in."

Lin Yan stared at her back for a while, and finally smiled lightly.

At the start of the competition, Lin Yan was still using the computer programming, while Lan Xi was in charge of checking the information.

题目一:有个电子钟,12点显示为12:00(即12小时制),那么请问一天24小时内,出现连续3个相同数字的钟有几个?

After the competition started, Lin Yan obviously found that Lan Xi's speed of checking information had slowed down, and he even mistranslated several words on purpose.

Lin Yan frowned: "Sister?"

Lan Xi was absent-minded, "Ang, God Su, don't worry, I'll find it right away."

Lin Yan glanced at Songyu, who had already started typing the code program. He was keen and guessed the intention of senior sister Lanxi at once, and said in a deep voice: "Sister, whether you win or lose the competition, I say it. .”

Sister Lanxi was stunned, and then saw that Lin Yan no longer relied on her, and quickly tapped the keyboard to write down a long list of programs. Then, under Lanxi's shocked gaze, she pressed the button ahead of the Songyu group next door. The first to complete the answer, followed by Song Yu and others.

Then wait for the referee to check.

After Song Yu pressed the button, he said to Lin Yan and the others across the aisle, "Shen Su and Xuemei are well matched, we are already fast enough, I didn't expect you to be faster than us."

Lin Yan nodded and did not speak, while Lan Xi had an awkward expression on his face. Song Yu obviously felt that the atmosphere between the two was not right, so he closed his mouth and did not make fun of himself.

The judges came to check the correct rate: Accepted.——Pass!

Lin Yan got a red balloon and an extra balloon. On the big screen, his team ranked first, Song Yu and others ranked second.

After a long time, Lan Xi finally couldn't help but said, "Why do you..."

"Sister." Lin Yan pushed his glasses with one hand: "As I said, I have the final say on whether to win or lose. If you don't want to continue participating, please go to the referee to apply for withdrawal."

"I'm not, I don't." Lan Xi paled and wanted to explain, but she found that it was useless to explain, Su Shen is so smart, her little thoughts must have been seen.

"Su Shen, it doesn't matter whether we win No. 1 in this programming competition, but it's different for Senior Song Yu. This is his last chance to enter the national team."

"Is it related to me?" Lin Yan said indifferently: "If he has strength, he will have a place in the national team, but what if he doesn't have strength?"

Lan Xi was hurt by Lin Yan's indifferent tone. Everyone said that geniuses have no feelings. She felt that this sentence was correct today. "If you don't participate this time, the champion must be Senior Song Yu."

Lin Yan paused, his tone was a little cold, and he said sarcastically, "You mean, I stole his No.1?"

"I..." Lan Xi realized that what he just said was too aggressive, "I'm sorry, that's not what I meant."

Lin Yan raised his hand and looked at the time on the watch, "Senior sister, I have a lecture in a while, if you don't want to help me, please don't bother me."

-

Topic [-];

10进制的四位数中有几个符合如下特征:将其分别表示为16进制、10进制、12进制,在每种状态下,分别将各个位上的数相加,能得到3个相等10进制数。

For example 2992

10进制:29922+9+9+2=22;

12进制:18941+8+9+4=22;

16进制:BBO11+11+0=22;

2992-2999…

Lin Yan thought for a while, and started typing the code, but there were loopholes in both of them, and he needed reference. Just as he was about to pick up the information on the side, Lan Xi gritted his teeth and said, "I'll do it. I'm more familiar than you."

Lin Yan was stunned...

It seems she has figured it out!

It is much faster to work as a team of two than to fight alone.

Lin Yan's team accumulated more and more balloons and points, but Song Yu's team did not dare to fall behind and held on.

Soon there will be the last two questions.

If Lin Yan continues to maintain this programming speed and accuracy, then he will be the No. 1 champion.

Topic nine

Game rules: 21 matches, take 1-4 each time, whoever takes the last one will lose.

Now people and computer game, design a program to ensure that the computer will win, each round is required to input (or return) a number representing the number of matches removed, until the end of the game...

This question was not difficult for Lin Yan. Even without Lan Xi's help, he compiled the code quickly, but he didn't press the button for a long time.

Lan Xi asked with a puzzled face, "Why didn't you press it?"

Lin Yan said calmly, "No rush..."

Lan Xi is so smart, he instantly understood what he meant, his face was happy, and he was about to say something to him happily, but was interrupted by Lin Yan: "Senior sister, do you want everyone to know that we are releasing water in the programming competition?" ?”

Lan Xi immediately understood and zipped his mouth.

One minute later, the Songyu team next door pressed the button, and Lan Xi asked, "Can we press it?"

Lin Yan: "Our current score is too high, just wait."

"Oh oh oh good, I'll listen to you." Now Lan Xi is completely conquered by him, and he will do whatever he says.

Lin Yan did not press the button until three teams pressed the button.

"Hahaha, God Su, I finally beat you once." Song Yu said excitedly: "This game question is a bit difficult, it's normal for you to be a little slower."

It was as if winning Lin Yan was winning the entire programming competition.

When Lan Xi heard this, she moved her mouth. She wanted to say something, but was stopped by Lin Yan. It was obviously to let him do it on purpose. Why did she feel aggrieved?

For the last question, Lin Yan did the same thing as the previous question, which resulted in a drop of No.1 in the final ranking, while the Song Yu team, which was closely behind, successfully overtook and won the championship of this year's programming competition.

After the match, Song Yu, who won the championship, couldn't help but chuckle a little while holding the trophy, but his tone was not malicious.

"Su Shen, you are really strong, but the programming competition is not your field of expertise. It is already very good to win No.2 in the first competition. I believe you will be stronger in the future."

Lan Xi finally couldn't help complaining now: "You just try your best, if God Su didn't let you, how could you be No. 1?"

Song Yu was stunned.

Lin Yan glanced at the time and said, "Sorry, the speech is about to start, I won't attend the celebration banquet, let's go first."

Then, before Song Yu could ask what it meant, he left first.

Song Yu is still a little confused, what does it mean to give it to him?

Zhou Mian patted Song Yu on the shoulder, and said earnestly, "Haven't you realized that the last two questions are actually Yan Xi's letting you in on purpose?"

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like