← All problemsSign in

Decode The Reply

Souhandya has a crush on a girl who is addicted with question mark and the number 3. Souhandya proposed the girl but the girl being shy replied by giving him a string $S$. He cannot understand the message so he consulted with you. Now you being the best friend of the girl as well as Souhandya know that if the string contains $3$ question marks between pair of any two numbers that add up to $9$ *

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