← All problemsSign in

FOOTBALL MANIACS

Albert and Davidson are two workers working in the production unit of a factory. The factory has a total of 5 machines. But the problem is at any moment only two machines can be simultaneously used. The production manager has allocated Albert and Davidson with a set of jobs to be completed before they can return home. Albert and Davidson are very hardworking and devoted workers and would complete

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start