← All problemsSign in

Tring Tring !!!

Converting names to phone numbers INPUT IS ONLY IN UPPERCASE LETTERS! The name given as text input is converted to a text string in the following way: the ASCII notation of the uppercase letters are concatenated to form a long number. The long number is then split into 10-digit segments and they all are added. This sum mod 10^10 is the resultant phone number. Names with 3 letters as well as

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