Question: c++ Implement an automatic shifts arrangement system. Problem description: Given m staffs and n days, find an arrangement that can satisfy (1) each staff must
c++
Implement an automatic shifts arrangement system. Problem description: Given m staffs and n days, find an arrangement that can satisfy (1) each staff must take at least k days off; (2) given that each day requires at least ai(1<=i<=n) staffs for working, the arrangement on each day should have more than ai staffs (when possible)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
