|
Explaination
To Berriuqam:
Just in this case, the answer is 100-30 = 70. 30 is the maximum number of students who might fail the example, but this doesn't mean in every case the maximum number could reach 30.
In your original question, the possible distribution of wrong answers could be
9 = 5 0 0 4 0
15= 0 6 0 4 5
19= 0 0 10 4 5
21= 5 6 10 0 0
26= 5 6 10 0 5
total
failed
students 5 + 6 + 10 + 4 + 5 = 30
Give you an example. The totaled failed questions are still 90, but
the first qestion only one answered wrongly, second 2, third 3, fourth 4, fifth 80. The maximum failed students can only be 5. The distribution is
Ques
wron
1 1 0 0 0 0 0
2 0 1 1 0 0 0
3 0 0 1 1 1 0
4 1 1 0 1 1 0
80 1 1 1 1 1 75
In this case, there are total 90 wrong answers, the maximum failed students are only 5.
Post by berriuqam
有一个问题我不理解,假如我把题目改一下:
第一题99人及格
第二题99人及格
第三题99人及格
第四题99人及格
第五题46人及格
要用你上面的算法:
(1+1+1+1+56)/3=20
最多有20人不及格......好像不对吧.
For this case, the possible maximum cloud be 20, but whether the maximum can reach 20 depends on the distribution of the wrong answers. Of course, for the distribution you gave, the maximum couldn't reach 20.
Hopefully the answer satisfy you.
Oldwolf |
|