Section 5 Teacher, I want to learn computers
Duan Tianwolf stood still for a while, blinked his eyes, and said, "Thank you very much, teacher, for looking up to me so much, but I don't have any interest in computers. ”
"Why? In the future world, only people who know how to use computers can smoothly integrate into the whole era. If you don't want to live in this small mountain village for the rest of your life, you have to learn how to use a computer. ”
Wang Lian's words just pierced Duan Tianwolf's sore spot, so at this time, he seemed a little rude, "The computer is not as important as you think, even if you don't know how to use a computer, I will still integrate into the future era." ”
"Really?" Wang Lian smiled, walked to the counter, picked up a piece of paper, drew an 8x8 grid on it, and then took eight mahjong and put them on this paper, "Aren't you a genius?" Now place these eight tiles in these grids, and in these tiles, no two tiles can be in the same row, the same column, or the same diagonal line. How many ways to pose, you have the ability to figure it out in one day. If you can figure out the right answer, I'll admit that you don't need a computer. ”
After Wang Lian finished speaking, he brushed his sleeves and left.
Just as Wang Lian was about to leave, he heard Duan Tianwolf's voice behind him, "Wait for me in the office." ”
At this time, it was 7:06 p.m. on March 14.
The next day, March 15, Duan Tianluo was absent from school for the first time during non-working hours.
Wang Lian, who was still in the third year of junior high school math class, looked at Duan Tianwolf's empty seat, and couldn't help shaking his head in his heart: "It's just too self-sufficient, even the famous mathematician Gauss answered the Eight Queens question incorrectly, you can answer it in twenty-four hours?" ”
At half past five in the afternoon, Jinnan Middle School was dismissed, and Duan Tianwolf still did not appear.
Looking at the clock on the wall of the office, Wang Lian shook his head with a smile, and said to himself: "This time I always taught this kid a lesson." He should have known by now that even the greatest genius had built his achievements on the achievements of his predecessors. ”
Wang Lian said, cleaned up, and stood up from his seat, he decided that Duan Tianwolf couldn't do it.
Just as Wang Lian was about to leave the office, a hoarse voice sounded by the door, "If I come one step too late, will the teacher miss the appointment?" ”
Wang Lian looked up and saw that the person who spoke was none other than Duan Tianwolf, whose eyes were red and whose face was as pale as a patient who had lost too much blood. He looked so tired that his whole body was leaning against the door, as if he was going to fall down at any moment.
When Wang Lian saw him like this, he hurriedly walked over and helped him into the house, "It's just a topic, why take it so seriously?" ”
"Does the teacher think that no matter how serious he is, it is impossible to solve this problem in such a short time?" Duan Tianluo raised his head, looked at Wang Lian, and said in a hoarse voice.
Because of the long-term lack of sleep, coupled with the fact that he had not slept for forty-eight consecutive hours recently, Duan Tianwolf's body at this time was already extremely weak, but Wang Lian saw that his eyes were surprisingly transparent and wild, and he did not look tired at all.
Wang Lian then sat down and said, "Okay, then tell me, what is the answer?" ”
"Ninety-two." Duan Tianwolf said, opened the schoolbag, took out a pile of manuscript paper from it, and put it on the table, "Here are all the ways to put it in." ”
"Ninety-two kinds of ......" Duan Tianwolf's words, Wang Lian only heard this, and then he couldn't hear a word.
When Duan Tianwolf said these four words, Wang Lian seemed to have been struck by lightning, and the whole person suddenly entered a state of nothingness, and his mind was blank, "How is it possible?" Gauss studied the problem of the Eight Empresses, studied for so long, and only found seventy-six methods, how could he ...... all at once? All at once......"
The problem of the Eight Queens proposed by the famous mathematician Gauss has been debated in the mathematical community for many years, and finally, after many years of discussion and research, the mathematical community has reached a consensus that the correct answer to the problem of the Eight Queens is exactly -- ninety-two!
When he saw Wang Lian's face like a withered face and a blank expression, a rare smile appeared on Duan Tianwolf's face.
His smile was faint, but there was a little smug and uninhibited in the light.
With this smile, Duan Tianwolf propped up his desk, stood up, and walked out of the office. Just as he walked to the door, he heard Wang Lian say behind him: "You think it's amazing to solve this problem in more than 20 hours, don't you?" ”
"Is there anyone who can figure it out faster than I do?" Duan Tianluo turned around, looked at Wang Lian confidently, and asked.
"There are at least a million people in this world who can solve this problem a hundred times faster than you." Wang Lian stared at Duan Tianwolf with a glare, and said, "As long as he has a computer in his hand." ”
Duan Tianluo stood at the door, looked at Wang Lian sharply for a while, and then shook his head, "I don't believe it!" ”
"You don't believe it, do you? Then you come with me. Wang Lian said, walking towards the door.
Duan Tianluo hesitated for a while, followed behind Wang Lian, and after a while, the two of them came to the computer classroom. Wang Lian came to a computer, turned it on, and began to type a bunch of letters quickly:
#include
#include
#include
#include
……
Three minutes later, Wang Lian knocked on the carriage and saw that the solutions to the problem of the Eight Queens began to be illustrated on the computer screen, no more and no less, a total of ninety-two.
After completing all this, Wang Lian turned his head, looked at Duan Tianwolf and said, "This is one of the methods used by computers to solve this problem, in addition to this, there are many ways to easily solve this problem. There are at least a million programmers in the world who can do this with a computer. ”
When he saw with his own eyes that the computer had so magically calculated the results of his hard work for a day and a night in just five minutes, Duan Tianwolf's mood at this time was no different from Wang Lian's mood just now.
He opened his mouth slightly, sat in front of the computer, stared at the flickering buoy, and did not move.
Since he was sensible, Duan Tianluo had been full of absolute confidence in his genius. He has always believed that as long as he does his best, then no one in this world can compare to him.
But now, this small computer has shattered the pride that Duan Tianwolf has been hiding in his heart for many years. What particularly stimulated Duan Tianwolf was Wang Lian's sentence - "There are at least one million programmers in the world who can use computers to do this." ”
After sitting in place for a long time, Duan Tianwolf put his hand on the computer's monitor.
At this moment, Duan Tianwolf felt a warm electric current, entering from his palm, filling his whole body, his heart, throbbing like a butterfly shaking its wings, he unconsciously slowly closed his eyes, and entered a quiet, self-detached world.
When Duan Tianwolf opened his eyes again, all of a sudden, Duan Tianwolf had a wonderful feeling of déjà vu in his previous life about the computer in front of him, and he was destined to be born for it.
Duan Tianwolf repeatedly wanted to let himself forget this strange feeling, but this feeling came from the deepest part of his heart, an irresistible temptation, and in the end, Duan Tianwolf surrendered for the first time in his life, he swallowed a mouthful of saliva hard, and said with difficulty: "Teacher, I want to learn computers." ”
;