MathDB
Maximum of smallest and largest scores in test

Source: China Second Round (A) 2013 Q3

May 15, 2016
algebra

Problem Statement

nn students take a test with mm questions, where m,n2m,n\ge 2 are integers. The score given to every question is as such: for a certain question, if xx students fails to answer it correctly, then those who answer it correctly scores xx points, while those who answer it wrongly scores 00. The score of a student is the sum of his scores for the mm questions. Arrange the scores in descending order p1p2pnp_1\ge p_2\ge \ldots \ge p_n. Find the maximum value of p1+pnp_1+p_n.