← All problemsSign in

REWARD FOR THE HOSTAGES

Have you watched Money Heist Season 4 yet? We bet you did. Alright, let’s consider the following scenario. After 4 days of the heist, the hostages began to revolt against the robbers. In order to make the hostages calm and supportive, the professor decided to make a deal with them. He ordered Berlin to give each of the hostages a piece of paper with a number '$x$' written on it. This number '$x$'

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