Trapped In A Magic Factory
CodeChefOpen on judge ↗
Five people named Gaitonde , Parulkar , Sartaj , Suleiman and Katekar were trapped in a magical factory . There are only four doors using which they can escape from the factory . But one door can only be used by one person , as soon as the door is used it got vanished . After a long discussion all five were agree with the idea suggested by Gaitonde . So , they decide to play a game , they stand i
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