2969: Minimum Number of Coins for Fruits II

Problem Statement