← All problemsSign in

Keypad Count

Okay, this problem has no story. A straightforward problem for your reading pleasure. Given $N$ phone numbers, count the number of times each key has to be pressed to obtain each phone number. ###Input: - The first line will contain $N$ - the number of phone numbers. - The following $N$ lines will contain the $N$ different phone numbers. ###Output: Ten space-separated integers, indica

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