皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
5-25 、拍皮球 http://tzcoder.cn/acmhome/problemdetail.do?&method=showdetail&id=1456 描述 小3岁了,很喜欢玩皮球,看来今后喜欢打篮球的^_^。最近她发现球从手中落下时,每次落地后反跳高度的一半,再落下,每次球落地时数球跳了几次,数到n次时爸爸在边上喊停,问小现在球到底总共走了多少距离,小故作沉思状,爸爸又问接下来小球能跳多高啊,小摇摇头,心想还没跳我怎么知道啊,难道爸爸是神啊!这时的你在边上出主意想给小写个程序计算一下,因此任务就交给你啦!假设球的初始高度为h,计算第n次落地时球经过的距离,以及落地后反弹能有多高。 输入: 输入两个数h和n,分别用空格分隔。 输出: 输出第n次反弹时球经过的距离和球最后的高度,保留小数点后2位。 样例输入: 100 1 样例输出: 100.00 50.00 ---------------------------------------- 后台测试数据: 5-25.txt
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】A nurse and her elderly uncle were waiting for a bus at a corner in downtown Chicago. Buses came by, not the one they wanted. The woman finally half-entered one of the buses and asked the driver if th...
A.
the bus they wanted didn't stop
B.
She wanted the driver to stop the bus
C.
She wanted to get some information from the driver
D.
She and her uncle couldn't wait any longer at the corner
【单选题】公共建筑的交通联系部分,一般可分为三种基本空间形式,它们是:( )
A.
门厅走道、楼梯、电梯
B.
水平交通、垂直交通、枢纽交通
C.
走廊、楼梯、电梯与自动扶梯
D.
主要交通、次要交通、枢纽交通
【简答题】Naim, from Turkey(土耳其), is a great Olympic weightlifting hero. He was the first weightlifter to win a gold medal in three Olympic s. In 1996, when he won his third gold medal, he lifted a to...
【简答题】In the days when an ice cream sundae(加水果或奶油的较贵的)cost much less, a 10-year-old boy entered a hotel coffee shop and sat at a table. A waitress (woman assistant) put a glass of water in front of him. “Ho...
【单选题】下列方式中不能插入SWF动画的是 。
A.
在主菜单中 选择 【插入】 / 【媒体】 / 【 SWF 】命令
B.
在 【插入】 / 【常用】 / 【媒体】下拉菜单 中单击 图标
C.
在【插入】/【常用】 / 【图像】下拉菜单中单击 按钮
D.
在【文件】面板中用鼠标选中文件,然后拖到文档中
【单选题】听力原文: Gamblers may have different lifestyles and betting habits, but almost every one of them has a favorite story of good luck or ill luck. Once, for example, a young man and woman entered Bradley's ...
A.
$1,000.
B.
$10,000.
C.
$15,000.
D.
All their life savings.
【简答题】完成句子. 1.The young man ________________________ (控告) robbing an old woman of her necklace  in the street last month. (accuse) 2.The library demanded that all the books ___________________ (返回) before F...
【简答题】根据句意,用括号内所给动词的正确形式完成句子。 1. Liu Yiting _______ (change) a lot since she entered Harvard University. 2. No SMOKING should _______ (see) in the stores even in many parts of the city. 3.—Mr.Brown likes ch...
【简答题】公共建筑的交通联系部分,一般可分为——、——及枢纽交通等三种基本的空间形式。
【单选题】第二节 完形填空 阅读下面短文,从短文后所给各题的四个选项(
A.
B.
C和D)中选出能填入相应空白处的最佳选项,并在答题卡1上将该项涂黑。 My father believed that there were mysterious forces(神秘的力量)at work in the world. One day, he was lecturing me on these mysterious forces (36) suddenly the door opened, and a woman entered,(37) two geese. She smiled (38) and looked frightened. 'Yusef , I have a very (39) problem. These dead geese, they keep shrieking(尖声叫 )insuch a sad voice. . . ' (40) hearing this, my father turned pale. '(41)dead geese don' t shriek,' my mothercut in. 'You' II hear for yourself ,'replied the woman. It is impossible t0 (42) what I heard. Myhands grew (43 and I wanted to run from the room. Father was no less (44 ) than I was. He jumped away from the table. ' Yusef ,what shall I do?'the woman cried. '(45)? I' m a poor woman. Two geese! They (46) me a fortune! ' Father did not know what to answer. (47)face was growing sharper and more (48 ) . 'I want to hear it again ,'she said. And so for the second and the third time, the shrieks were (49).Nobody said anything. The woman asked ,'Well ,l didn' t (50) it, did I?' Suddenly my mother laughed. 'Did you (51 the windpipes(气管)?'my mother asked. ' The windpipes? No. . . ' ' Let me (52) ,'said Mother. She took hold of one of the geese, and pulled out the windpipe She did the same with the other one. I was surprised by my mother' s (53) . 'Now, try it again. 'I was (54) to hear the geese shriek, but they were dead silent. 'There is always (55). Dead geese don't shriek,'said my mother. 'Now go home and cook them for the meal. They won ' t make a sound in your pot. ' 36. [A]when [B]while [C]then [D]later
相关题目:
【单选题】第二节 完形填空 阅读下面短文,从短文后所给各题的四个选项(
A.
B.
C和D)中选出能填入相应空白处的最佳选项,并在答题卡1上将该项涂黑。 My father believed that there were mysterious forces(神秘的力量)at work in the world. One day, he was lecturing me on these mysterious forces (36) suddenly the door opened, and a woman entered,(37) two geese. She smiled (38) and looked frightened. 'Yusef , I have a very (39) problem. These dead geese, they keep shrieking(尖声叫 )insuch a sad voice. . . ' (40) hearing this, my father turned pale. '(41)dead geese don' t shriek,' my mothercut in. 'You' II hear for yourself ,'replied the woman. It is impossible t0 (42) what I heard. Myhands grew (43 and I wanted to run from the room. Father was no less (44 ) than I was. He jumped away from the table. ' Yusef ,what shall I do?'the woman cried. '(45)? I' m a poor woman. Two geese! They (46) me a fortune! ' Father did not know what to answer. (47)face was growing sharper and more (48 ) . 'I want to hear it again ,'she said. And so for the second and the third time, the shrieks were (49).Nobody said anything. The woman asked ,'Well ,l didn' t (50) it, did I?' Suddenly my mother laughed. 'Did you (51 the windpipes(气管)?'my mother asked. ' The windpipes? No. . . ' ' Let me (52) ,'said Mother. She took hold of one of the geese, and pulled out the windpipe She did the same with the other one. I was surprised by my mother' s (53) . 'Now, try it again. 'I was (54) to hear the geese shriek, but they were dead silent. 'There is always (55). Dead geese don't shriek,'said my mother. 'Now go home and cook them for the meal. They won ' t make a sound in your pot. ' 36. [A]when [B]while [C]then [D]later
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题