题干

已知集合A﹣{1,2,3,4,5,6,7,8,9),在集合A中任取三个元素,分别作为一个三位数的个位数,十位数和百位数,记这个三位数为a,现将组成a的三个数字按从小到大排成的三位数记为I(a),按从大到小排成的三位数记为D(a)(例如a=219,则I(a)=129,D(a)=921),阅读如图所示的程序框图,运行相应的程序,任意输入一个a,则输出b的值为(  )

A:792

B:693

C:594

D:495

上一题 下一题 0.0难度 选择题 更新时间:2018-03-25 10:01:59

答案(点此获取答案解析)

D

同类题2

阅读理解

    Having a teenager at home can be a real headache. Many teenagers smoke, drink and even fight. They often do something dangerous.

    Earlier studies have shown that teenagers are more likely (可能) to make irrational decisions than people from any other age group, including children and adults. Is it that teenagers are too young to tell right from wrong? Not really. So what's the reason?

    According to Laurence, a teacher from a US university, the reason is that teenagers care a lot about how their peers (同龄人) view them—that is “peer influence”.

    As children enter their teenage years, they spend more time with their friends and classmates, and also they care more about what they think of them. This makes teenagers make decisions without thinking about the costs.

    In a test, a group of teenagers were asked to play a video driving game. When they played with their friends watching around them, they took more chances and drove more carelessly because that would increase their possibility of winning. But when they played alone, they drove more safely.

    Why do peers have such a big influence on teens' behavior?

As Laurence sees it, a teenager's brain is like a car with a good accelerator (油门) but a weak brake (刹车). The “accelerator” is fully developed by teenage years while the “brake” is still not fully developed. When teenagers are watched by their peers, they usually push hard on the accelerator. With their weak brake, it is likely that they are going to end up in an accident.

    But the good news is that a violent (暴力的)teenager doesn't necessarily become a violent adult. About two-thirds to three-quarters of violent youth grow out of it. “They get more self-controlled.”