P4086 [USACO17DEC] My Cow Ate My Homework S
题目描述
In your bovine history class, you have been given a rather long homework assignment with N
After copious explanation, your teacher finally believes your story, and agrees to grade the remaining non-eaten part of the assignment the same way as before -- by removing the lowest-scoring question (or one such question, in the event of a tie) and averaging the rest.
Please output all values of K
输入格式
The first line of input contains N
输出格式
Please output, one value per line, all values of K
题意翻译
在你的历史课上,你得到了一个很长的作业。这个作业包含了 N
按照惯例,你的老师按照以下方式计算最终成绩:去掉你最低的一个成绩,然后将其余成绩的平均成绩作为最终成绩。但不幸的是,你的宠物牛“贝西”刚刚吃了前 K
经过你的一番解释,老师终于相信了你的故事,并且同意对你有答案的题目(没有被吃掉答案的题目)像之前一样给分——通过去掉最低的成绩(如果有多个最低成绩,则只去掉其中一个)并取剩余成绩的平均成绩。
根据这一成绩计算方案,请按升序输出所有可以使你最终成绩最高的 K
输入输出样例
说明/提示
If Bessie eats the first two questions, then the remaining scores are 9, 2, and 7. Removing the minimum and averaging, we get a final grade of 8, which is the highest possible.
相关知识
我的猫咪(My cat)英语作文(精选32篇)
my pet中文
Find My技术
my宠物吧
My Boo
早上,我和我的宠物狗去公园散步。中午,我回家吃饭后做作业的翻译是: 什么意思? 中文翻译英文,英文翻译中文,怎么说?
英语加入宠物俱乐部作文90词
Find My技术|防止你的宠物跑丢,苹果Find My技术可以帮到你
I look after my health. 我照顾我自己的健康. look after = take care of 照顾 如:look after my pet照顾我的宠物——青夏教育精英家教网——
打卡,溜达,有趣,速来丨宠物友好大展OH MY DOG,OH MY CAT亮相798
网址: P4086 [USACO17DEC] My Cow Ate My Homework S https://www.mcbbbk.com/newsview561872.html
上一篇: DNF:史上最稀有的五大宠物,最 |
下一篇: [宠物相关] 萌新猎人问下,裂蹄 |
推荐分享

- 1我的狗老公李淑敏33——如何 5096
- 2南京宠物粮食薄荷饼宠物食品包 4363
- 3家养水獭多少钱一只正常 3825
- 4豆柴犬为什么不建议养?可爱的 3668
- 5自制狗狗辅食:棉花面纱犬的美 3615
- 6狗交配为什么会锁住?从狗狗生 3601
- 7广州哪里卖宠物猫狗的选择性多 3535
- 8湖南隆飞尔动物药业有限公司宠 3477
- 9黄金蟒的价格 3396
- 10益和 MATCHWELL 狗 3352