Pet Store

[Solved] Pet Store STARTERS 71 CodeChef

[Solved] Pet Store STARTERS 71 CodeChef

Alice and Bob went to a pet store. There are NN animals in the store where the i^{th}ith animal is of type A_iAi​. Alice decides to buy some of these NN animals. Bob decides that he will buy all the animals left in the store after Alice has made the purchase.…