← All problemsSign in

Chatbot

Puko has made a chatbot for his WhatsApp organization of buddies. However, the Chatbot keyboard is damaged, so pressing a key on it once may cause the corresponding symbol to seem more than once (in case you press a key on a regular keyboard, it prints exactly one symbol).for example, due to typing the phrase $"bullock"$, the subsequent string may be printed: $"bullock","bbbullllock","bbuuuuullll

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