问题
填空题
在如图给出的程序中,若输入a=333,k=5,则输出的b为______.
|
答案
本程序的算法是:将十进制数333化为五进制数
即:333÷5=66…3
66÷5=13…1,
13÷5=2…3,
2÷5=2…2
∴将十进制数333化为五进制数是2313(5),
故答案为:2313(5).
在如图给出的程序中,若输入a=333,k=5,则输出的b为______.
|
本程序的算法是:将十进制数333化为五进制数
即:333÷5=66…3
66÷5=13…1,
13÷5=2…3,
2÷5=2…2
∴将十进制数333化为五进制数是2313(5),
故答案为:2313(5).
What’s your idea about success? Some people say that beginners have all the luck, while others believe that success 1 only with practice. In fact, I feel both of these statements (陈述) are not true all the time. Each is true in some ways 2 not in others. For example, I went to a drawing competition many years ago and 3 surprisingly. As a prize, I got a film ticket to see “Titanic”. I was really 4 because it was the first time I had taken part in any competition. Thinking that I might be lucky again, I 5 joining in other art competitions. But the result was that I 6 won again. I accepted the fact that the other people had a 7 artistic ability than I did. Art was not something I was especially interested in and I had never practiced the different art skills. So, the 8 I produced were not of a very high standard. These experiences taught me a lot. Though I might have been lucky 9 , I also need to put in hard work. As we know, 10 makes perfect. So I believe success builds on less luck and chance.
|