← All problemsSign in

Gatekeepers of NITD

Problem description. The winter is very cold and the fog makes it very hard to see. People are streaming into the college campus, but the gatekeepers aren’t able to see who is entering due to the fog. They have decided that usually trouble creators are very tall, so they will only check the tallest three persons entering the campus. However, it is their morning tea time, and so they have asked yo

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