Ice Cream Parlor | HackerRank

The first line contains an integer, , denoting the number of trips to the ice cream parlor.The next sets of lines each describe a visit. Each trip is described as follows: The integer , the amount of money they have pooled.; The integer , the number of flavors offered at the time.; space-separated integers denoting the cost of each flavor: .

Alexa Traffic


Listing Links