solulubeta
Sign in
Story Problems / Greedy
06.07 · Problem

CPU Task Cooldown

Medium Greedy formula on the most frequent task Pro

This problem is part of solulu Pro

A CPU must run tasks named by letters. Each task takes 1 unit of time. The same task cannot run again until n other time units (tasks or idle) have passed. Tasks can be run in any order. What is the minimum total time to…

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 61 of 94 · updated 2026-10-12