Maximize Total Tastiness of Purchased Fruits

dp好题