← All problemsSign in

Asya & Encoding

Asya is not only cute but smart and her young age doesn't stop her from learning different algorithms. These days she is busy in developing an application for communication over a network. Now she needs your help in writing a small program. Your are given the message received by a node on network, R. The message is in binary. The network designed by Asya is pretty awesome. It is assured that at

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