← All problemsSign in

A - New Adventure

Our Hero Chef has reached The Dungeon. The front door of the Dungeon carries a plaque that lists the names of all the Heroes who have conquered The Dungeon. The names of the Heroes are single-letter alphanumeric characters (case-sensitive). If a Hero has conquered The Dungeon more than once then his name appears that many times. Weirdly enough, as soon as he enters the Dungeon the names on the p

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