Company: Gameskraft_17_dec
Difficulty: medium
Choose Flask body { font-family: sans-serif; line-height: 1.6; color: #333; } h1 { color: #2c3e50; border-bottom: 2px solid #eee; padding-bottom: 10px; } h2 { color: #34495e; margin-top: 25px; border-bottom: 1px solid #eee; padding-bottom: 5px; } pre { background-color: #f4f4f4; padding: 15px; border-radius: 5px; overflow-x: auto; } code { font-family: 'Courier New', monospace; } ul { list-style-type: disc; margin-left: 20px; } li { margin-bottom: 5px; } strong { font-weight: bold; } .example-section { background-color: #f9f9f9; border: 1px solid #ddd; padding: 15px; border-radius: 5px; margin-bottom: 20px; } Choose Flask Problem Description You are given a list of requirements for flasks and a list of available flask types, each with its own set of markings (capacities). The goal is to choose a flask type that minimizes the total 'waste' when fulfilling all requirements. If multiple flask types have the same minimum waste, choose the one with the smallest index. For each requirement,