|
The answer is 70
Here is why it should be 70.
The total wrong answers is
9+15+19+21+26 = 90
The maximum number of studnets who failed 3 questions could be 90 / 3 = 30
In this case, it is possible that 30 students failed the exam. The following is how the distribution of wrong answers are.
wrong
answers
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
Therefore, the maxium number of failed students is 30. So at least 100 - 30 = 70 students pass the exam.
But just in this case, the maximum number of failed students ncould be 30. If the distribution of failed question changes, it is possible the maximum number clouldn't reach 30.
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! |
|