GALAXY OJ NOIP2019 2- universal Joint Test Group

Overview:

  Today, more than a game, pretty water, but less than ideal.

topic:

  Problem: Tao Tao grab apples

    Went to the harvest season, the trees end up with a lot of Tao Tao, wrong, a lot of apples, there are many small Tao Tao came to pick apples. Each Tao Tao wants the greatest apple, so had an argument, in order to solve their conflicts, the question of man - a special rule, according to the size of the weight given order, each round is the first by fat first pick (to take care of fat), each of Tao Tao is very smart, do not miss the largest apple eyes. Now the question is, a total of apples n, m a Tao Tao, you want to order the original Tao Tao can grab the output of Apple's total size of each.

    Resolution:

    This question seems to be water, fight violence, no losers!

  

Guess you like

Origin www.cnblogs.com/WestJackson/p/11517026.html