Post by GiganticBalls
HI:cool:
没答对第一题的有100-81=19
没答对第二题的有100-91=9
没答对第三题的有100-85=15
没答对第四题的有100-79=21
没答对第五题的有100-74=26
五题全错最多有9个人;
去掉这9个人----
没答对第一题的有19-9=10
没答对第三题的有15-9=6
没答对第四题的有21-9=12
没答对第五题的有26-9=17
四题全错的最多有6个人;
去掉这9+6=15人----
没答对第一题的有19-15=4
没答对第四题的有21-15=6
没答对第五题的有26-15=11
三题全错的最多有4个人;
不及格的最多有9+6+4=19人,
则及格的最少有100-19=81人。
Post by beauchemin
一百匹马,一百块瓦,大马驮仨,小马驮俩,最少多少次运完所有的瓦?
Post by berriuqam
100个人回答五道试题,有81人答对第一题,91人答对第二题,85人答对第三题,79人答对第四题,74人答对第五题,答对三道题或三道题以上的人算及格,那么,在这100人中,至少有( )人及格。
请说出算法!不准列方程,要用小学算术的水平解这道题.
Post by berriuqam
100个人回答五道试题,有81人答对第一题,91人答对第二题,85人答对第三题,79人答对第四题,74人答对第五题,答对三道题或三道题以上的人算及格,那么,在这100人中,至少有( )人及格。
请说出算法!不准列方程,要用小学算术的水平解这道题.
Post by berriuqam
100个人回答五道试题,有81人答对第一题,91人答对第二题,85人答对第三题,79人答对第四题,74人答对第五题,答对三道题或三道题以上的人算及格,那么,在这100人中,至少有( )人及格。
请说出算法!不准列方程,要用小学算术的水平解这道题.
Post by oldwolf
Here is a simple algorithm to solve it.
The persions who didn't answer correctly the first question: 19
second : 9
third : 15
fourth: 21
fifth: 26
Sort the above numbers:
9
15
19
21
26
Take the last 3 numbers: 19 21 26.
The minimum of the last 3 numbers is the answer: 19.
This algorithm can be applied to other questions like 1000 students answer 50 questions and can be quickly and easily solved in a computer.
This question is a good one to test students studying computer algorithms.
Oldwolf
Post by huck
No, this is definitely not a question for computer algorithm. It is such a simple question that a smart brain needs only one flash to solve. I dont understand why an algorithm is needed while any kids knowing division could give the answer.
BTW, I could figure out the answer in a few seconds but dont understand the basis of sorting in your answer? It is funny!
Post by huck
No, this is definitely not a question for computer algorithm. It is such a simple question that a smart brain needs only one flash to solve. I dont understand why an algorithm is needed while any kids knowing division could give the answer.
BTW, I could figure out the answer in a few seconds but dont understand the basis of sorting in your answer? It is funny!
Post by huck
No, this is definitely not a question for computer algorithm. It is such a simple question that a smart brain needs only one flash to solve. I dont understand why an algorithm is needed while any kids knowing division could give the answer.
BTW, I could figure out the answer in a few seconds but dont understand the basis of sorting in your answer? It is funny!
Post by huck
No, this is definitely not a question for computer algorithm. It is such a simple question that a smart brain needs only one flash to solve. I dont understand why an algorithm is needed while any kids knowing division could give the answer.
BTW, I could figure out the answer in a few seconds but dont understand the basis of sorting in your answer? It is funny!
Post by huck
No, this is definitely not a question for computer algorithm. It is such a simple question that a smart brain needs only one flash to solve. I dont understand why an algorithm is needed while any kids knowing division could give the answer.
BTW, I could figure out the answer in a few seconds but dont understand the basis of sorting in your answer? It is funny!
Post by berriuqam
GiganticBalls的回答我开始觉得有道理,可是现在又觉得有点不对,但是哪里错了我也说不出.
请高人继续努力.另外为了方便理解建议用中文,毕竟是小学五年级嘛
Post by oldwolf
GiganticBalls's answer is wrong, same as my previous wrong answer.
The right answer is 70. See the two messages before.
The idea is
The total wrong answer is 90. The maximum students who failed 3 questions is 90/3 = 30. In this case, it is possible 30 students failed 3 questions by each one. The other passed 70 students answered all 5 quesitons correctly and got a grade of 100. This is the at least number as all passed students got a grage of 100.
The distribution of wrong answers is listed in my previous meassage.
Sorry I can only read, can't write Chinese in my computer.
oldwolf
Post by berriuqam
有一个问题我不理解,假如我把题目改一下:
第一题99人及格
第二题99人及格
第三题99人及格
第四题99人及格
第五题46人及格
要用你上面的算法:
(1+1+1+1+56)/3=20
最多有20人不及格......好像不对吧.
Post by GiganticBalls
HI:cool:
没答对第一题的有100-81=19
没答对第二题的有100-91=9
没答对第三题的有100-85=15
没答对第四题的有100-79=21
没答对第五题的有100-74=26
五题全错最多有9个人;
去掉这9个人----
没答对第一题的有19-9=10
没答对第三题的有15-9=6
没答对第四题的有21-9=12
没答对第五题的有26-9=17
四题全错的最多有6个人;
去掉这9+6=15人----
没答对第一题的有19-15=4
没答对第四题的有21-15=6
没答对第五题的有26-15=11
三题全错的最多有4个人;
不及格的最多有9+6+4=19人,
则及格的最少有100-19=81人。
Post by 天秤座
I would like to say that: Oldwolf didn't provide a clear algorithm, in stead, GiganticBalls has provided a good analysis. Only the result needs some correction. The following is the answer:
at most: 9 students failed all 5 questions ( GiganticBalls is right at this stage).
===============Pay attention here================
AT MOST: 19 students failed 4 questions. calculation is:
9 failed: Q1+Q2+Q4+Q5;
10 failed: Q1+Q3+Q4+Q5;
0 failed all 5 questions.
AT MOST: 28 students failed 3 questions. calculation is:
19 faild: Q1+Q4+Q5;
7 failed: Q2+Q3+Q5;
2 failed: Q2+Q3+Q4;
0 failed 4 or more questions.
Therefore:
不及格的最多有19+7+2=28人,
则及格的最少有100-28=72人。
===============================
Post by 天秤座
I would like to say that: Oldwolf didn't provide a clear algorithm, in stead, GiganticBalls has provided a good analysis. Only the result needs some correction. The following is the answer:
at most: 9 students failed all 5 questions ( GiganticBalls is right at this stage).
===============Pay attention here================
AT MOST: 19 students failed 4 questions. calculation is:
9 failed: Q1+Q2+Q4+Q5;
10 failed: Q1+Q3+Q4+Q5;
0 failed all 5 questions.
AT MOST: 28 students failed 3 questions. calculation is:
19 faild: Q1+Q4+Q5;
7 failed: Q2+Q3+Q5;
2 failed: Q2+Q3+Q4;
0 failed 4 or more questions.
Therefore:
不及格的最多有19+7+2=28人,
则及格的最少有100-28=72人。
===============================
Post by 天秤座
I would like to say that: Oldwolf didn't provide a clear algorithm, in stead, GiganticBalls has provided a good analysis. Only the result needs some correction. The following is the answer:
at most: 9 students failed all 5 questions ( GiganticBalls is right at this stage).
===============Pay attention here================
AT MOST: 19 students failed 4 questions. calculation is:
9 failed: Q1+Q2+Q4+Q5;
10 failed: Q1+Q3+Q4+Q5;
0 failed all 5 questions.
AT MOST: 28 students failed 3 questions. calculation is:
19 faild: Q1+Q4+Q5;
7 failed: Q2+Q3+Q5;
2 failed: Q2+Q3+Q4;
0 failed 4 or more questions.
Therefore:
不及格的最多有19+7+2=28人,
则及格的最少有100-28=72人。
===============================
Post by 天秤座
最多9人错5道。
最多19人错4道 (9人错1,2,4,5题; 10人错1,3,4,5题)。
最多28人错3道(19人错1,4,5题; 7人错2,3,5题; 2人 错2,3,4题)。
所以:
不及格的最多有19+7+2=28人,
则及格的最少有100-28=72人。
Post by eihpos
干吗不列方程?有AK还用弓箭吗?:confused: :confused: :confused: :confused:
Post by oldwolf
I do have a equation, list the numbers just for someone to understand. To prove my answer is right.
Equation is a little bit difficult to understand.
Post by eihpos
干吗不让列方程不让编程?有AK还用弓箭吗?你以为你是只儿豁阿歹呀!干吗不让列方程不让编程?有AK还用弓箭吗?你以为你是只儿豁阿歹呀!干吗不让列方程不让编程?有AK还用弓箭吗?你以为你是只儿豁阿歹呀!干吗不让列方程不让编程?有AK还用弓箭吗?你以为你是只儿豁阿歹呀!:confused: :confused: :confused: :confused: :confused: :confused: :confused:
Post by ciel noir
也凑热闹,另拿一题来。
有一个六位数,我们用abcdef表示,分别与1、2、3、4、5、6相乘,得到六个新的六位数,这六个新的六位数,都是由a、b、c、d、e、f这六个数字组合而成。请找出abcdef。
Post by 白石桥的小楼
总的错题数是 (100-81)+(100-91)+(100-85)+(100-79)+(100-74)=90
因为错3道以上就不及格了.
那么假设每个人都是错3道,那么90道错题被30个学生充分分配.也就是说最多的不及格的学生是30人.
因此至少有70人及格!
Post by Michael_huang
答案:abcdef=142857
Post by ciel noir
也凑热闹,另拿一题来。
有一个六位数,我们用abcdef表示,分别与1、2、3、4、5、6相乘,得到六个新的六位数,这六个新的六位数,都是由a、b、c、d、e、f这六个数字组合而成。请找出abcdef。
Post by 白石桥的小楼
总的错题数是 (100-81)+(100-91)+(100-85)+(100-79)+(100-74)=90
因为错3道以上就不及格了.
那么假设每个人都是错3道,那么90道错题被30个学生充分分配.也就是说最多的不及格的学生是30人.
因此至少有70人及格!
欢迎光临 蒙城华人网 (https://www.sinoquebec.com/) | Powered by Discuz! X3.1 |