The first line contains a positive integer N, which means there are N days in total (1≤n≤105) Mr.Cocktail has traded in this market for N days, suppose he has unlimited money to buy rabbits. You can only sell once in a day, but you can sell rabbits unlimited quantities (provided that you have so many rabbits).And only one rabbit can be purchased at a time. And the rabbit transaction price may be different every day evenĭifferent between morning and afternoon in a day.Ģ.It is prohibited that purchasing more than once in a day. ![]() The trading rules in this market are asġ.The market is available only in morning and afternoon in one day. ![]() ![]() In a remote place, there is a rabbits market where rabbits can be bought and sold in every day.
0 Comments
Leave a Reply. |