← All problemsSign in

Supervision

John is the supervisor for production of every batch that is processed by the case production unit. Every time there is a malfunction john gets in trouble big time, so he has to keep a close look on the production machine. However he can’t keep a look-out for every produced good. Every time there is a mismatched production, he has to fix it on his own expenses. John wants to create an algorithm

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