Counting manuls
**Please note that TLs are different for different subtasks.** Madoka decided to create her own chat with her friends in it. However, the chat was unmonitored for a while, so her friends started posting pictures of [manuls](https://en.m.wikipedia.org/wiki/Pallas%27s_cat) with numbers in it. Coming back to the messy chat, Madoka knows that she cannot suspend it now, because that will make her frie
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