Prisoner of Azkaban
CodeChefOpen on judge ↗
*"Happiness can be found even in the darkest of times if one only remembers to turn on the light."* Harry already had a terrifying experience against the dementors. To protect himself against the dementors, he spent the winters mastering a spell $S$ with Professor Remus Lupin. He had learned that the lexicographically smaller the spell $S$, the more powerful it is. Harry and Sirius Black were fi
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