← All problemsSign in

Alphabetic Sum

Given a string S containing small and capital alphabets. In this problem small alphabets represents a=1,b=2,c=3, and so on. similarly capital alphabets represents A=10 , B=20, C=30 , and so on. Chef has to decode this string into a numeric value using following method. - Multiply values of small alphabets - Add values of all capital alphabets - Merge this two values such that multiplied value

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