← All problemsSign in

DUCT in IIST

As summer has arrived, administration of *Indore Institute of Science and Technology* decided to setup [duct](https://en.wikipedia.org/wiki/Duct_(flow)) in all the classrooms of IIST. There are three floors in IIST (Ground floor, first and second floor) and each floor consists of 2 Blocks (A and C Block) where classrooms are built. Each Block has $N$ classrooms in continuous manner (i.e, conn

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