26 Houses
CodeChefOpen on judge ↗
This year, the number of witches and wizards taking their first year at Hogwarts has increased exponentially. So current headmistress Minerva McGonagall has increased the number of houses from 4 to 26. Every house is named after a great wizarding family, now abbreviated for convenience as a....z. All the existing students are assigned to these houses. And the new ones are not assigned yet. A midn
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