NITW Admin
CodeChefOpen on judge ↗
You have reached Chefland and where NITW has N movable buildings and everything is in 1D! Divas being an architect has a responsibility to create a campus suitable for all students. The workers have made, only N basic buildings on specified coordinates and now, it's up to Divas to make one building as Admin, and other as Hostels. The buildings are movable here, but moving comes with a cost. For m
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