Dual core processor and the scheduler
CodeChefOpen on judge ↗
A computer has a dual core processor. Its operating system has a set of jobs JS from an application that it has to execute. A job scheduled to a core runs on that core till its completion. The scheduler is optimized to schedule jobs to different cores such that at the end of execution of JS, the skew of the processing time between both the cores is minimum. For example if there are three jobs A, B
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start