�描述</h4><div class="ui bottom attached segment font-content"><div style="position: relative; overflow: hidden;"><p><span style="font-size: medium">Bessie and Bonnie have found a treasure chest full of marvelous gold coins! Being cows, though, they can't just walk into a store and buy stuff, so instead they decide to have some fun with the coins. The N (1 &lt;= N &lt;= 5,000) coins, each with some value C_i (1 &lt;= C_i &lt;= 5,000) are placed in a straight line. Bessie and Bonnie take turns, and for eac