5 180 40 60 80 50
70 Your scores in the first four rounds were $40$, $60$, $80$, and $50$. If you earn a score of $70$ in round $5$, the sequence of the scores sorted in ascending order will be $S=(40,50,60,70,80)$, for a final grade of $50+60+70=180$. It can be shown that $70$ is the minimum score you must earn for a final grade of $180$ or higher.
3 100 100 100
0 Your scores in the first two rounds were $100$ and $100$. If you earn a score of $0$ in round $3$, the sequence of the scores sorted in ascending order will be $S=(0,100,100)$, for a final grade of $100$. Note that the highest score, $100$, is earned multiple times, and only one of them is excluded. (The same goes for the lowest score.) It can be shown that $0$ is the minimum score you must earn for a final grade of $100$ or higher.
5 200 0 0 99 99
\-1 Your scores in the first four rounds were $0$, $0$, $99$, and $99$. It can be shown that your final grade will never be $200$ or higher no matter what score you earn in round $5$.
10 480 59 98 88 54 70 24 8 94 46
45
{
"problem": {
"name": "Cutoff",
"description": {
"content": "There is an exam structured as follows. * The exam consists of $N$ rounds called round $1$ to $N$. * In each round, you are given an integer score between $0$ and $100$, inclusive. * Your final",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc321_b"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There is an exam structured as follows.\n\n* The exam consists of $N$ rounds called round $1$ to $N$.\n* In each round, you are given an integer score between $0$ and $100$, inclusive.\n* Your final...",
"is_translate": false,
"language": "English"
}
]
}