Run every task one per time unit, with at least n units between two runs of the same task, and find the shortest total time including idle slots.
Run every task one per time unit, with at least n units between two runs of the same task, and find the shortest total time including idle slots.
Opens with the full question.