← All problemsSign in

Philosophers Stone

*"It takes a great deal of bravery to stand up to our enemies, but just as much to stand up to our friends."* It's a new session in Hogwarts, School Of Witchcraft And Wizardry. Everyone is amazed to see the ever-changing stairs. Hermione, the brightest witch of her age, has read a unique thing about the stairs in a book on Hogwarts History. She had read that if $2$ or more than $2$ students use

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