Fundamentals/Multiprocessor System
← PrevNext →
Given an array of processor powers and a number of tasks to process (each task takes 1 unit on the chosen processor, then that processor halves its power, rounded down), return the minimum hours to process all tasks.