← All problemsSign in

Helping Lira

CodeChefRating 1270Open on judge ↗

Problem Statement Lira is a little girl form Bytenicut, a small and cozy village located in the country of Byteland. As the village is located on a somewhat hidden and isolated area, little Lira is a bit lonely and she needs to invent new games that she can play for herself. However, Lira is also very clever, so, she already invented a new game. She has many stones with her, which she will dis

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