Floor Confusion
CodeChefOpen on judge ↗
Five of the faculty members of IIIT-Delhi Prof. A, Prof. B, Prof. C, Prof. D and Prof. E have their rooms on different floors of the Academic Building, which has five floors. A week student X has been called by these five professors to discuss his declining performance. But he, having weak memory, has forgotten on which floors are rooms of ALL the respective faculty members located. However, he r
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