阅读背景:

Making Money

来源:互联网 

描述

FJ has gone into the curio business, buying and selling knickknacks like cow Christmas tree ornaments. He knows he will sell every single curio he can stock from a catalog of N (1 <= N <= 100) different cow curios, and he can buy as many of each kind of curio as his heart desires. He has only M (1 <= M <= 100,000) money to invest but wants to maximize his profit (which has a slightly unusual definition) at the end of his first year in business. FJ has gone into the curio business, bu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: