On 13/08/05, Ruby Quiz <james / grayproductions.net> wrote: > The three rules of Ruby Quiz: > > 1. Please do not post any solutions or spoiler discussion for this quiz until > 48 hours have passed from the time on this message. > > 2. Support Ruby Quiz by submitting ideas as often as you can: > > http://www.rubyquiz.com/ > > 3. Enjoy! > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > by Hans Fugal > > You have a list of employees along with the hours they would _like_ to work, and > the hours they _cannot_ work. You have a list of hours that need to be worked. > (Extra credit for allowing for a different number of employees needed at > different hours.) > > Write a scheduler that schedules employees without scheduling them on hours they > cannot work. It would be nice if the employees got as many of the hours they > wanted as possible. It would be nice if the employees didn't end up with split > shifts, had more or less consistent hours from day to day (e.g. Joe gets > scheduled in mornings), and so forth. > > How are theses hours given? Is it a one-time appointment, repeating appointments on a weekly/monthly basis? Is there an example input so we can test the programs against each other? regards, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/