← All problemsSign in

The burnt map

PROBLEM DESCRIPTION While sailing in the great seas with his pirate mates, jack found a treasure chest along with an burnt piece of paper containing a certain code. Since the paper was not fully burnt, a part of the code required to open the chest was still present on it. However the length of the code is still unknown. Thus, Jack needs your help. You are given the unburnt piece of paper, you are

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