Company: ibm_22oct
Difficulty: medium
Maximum Containers Problem Description The problem asks to calculate the maximum number of containers a customer can obtain given a fixed budget, the cost per container, and the number of empty containers required to receive a free container. Each container is assumed to be emptied and returned for credit immediately. You need to complete the function maximumContainers in the editor. The function signature is as follows: void maximumContainers(vector<string> scenarios) { // Function implementation } The function accepts a STRING_ARRAY scenarios as a parameter. Each string in scenarios contains three space-separated integers: The starting budget. The cost per container. The number of empty containers to return for a free container. For each test case (each string in scenarios ), the function must print an integer representing the maximum number of containers the customer can obtain, each on a new line. No return value is expected. Examples Example 0: Input: 3 10 2 5 12 4 4 6 2 2 O