Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Input: MaxWorkLoad: example 10
  2. Timeslot and workload: example [(2, 6, 3), (3, 8, 2), ... ]
  3. The (2, 6, 3) is begin time, end time, and workload
  4. You can treat the 2, 6 as the UNIX epoch time.
  5. The input can be in any time order. For example: [(20, 60, 3), (3, 8, 2)]
  6.  
  7. Output: a boolean returning whether the series of workload can fit in without
  8. exceeding MaxWorkLoad
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement