Encode Kalakeya
CodeChefOpen on judge ↗
Problem: MR Kalakeya is the king of the Kalakeya kingdom. It's the 21st century where robots are the soldiers. There is a boss for all robots named $CHITTI$ . another kingdom contains only human soldiers. This is an advantage for him. Whenever he wants to control his soldiers he instructs CHITTI which will encode the message and share it with all other robots securely. So that other kingdom so
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.
Sign in to chat with the tutor and save your progress.
Sign in to start