Given a sorted array of order requirements (volumes) and a list of [flaskId, marking] pairs sorted by flaskId then marking, return the flaskId minimizing total wasted volume (sum of marking - requirement for each order, where marking is the smallest value >= requirement). Return -1 if no flask can serve all orders.