Alphabet game
CodeChefOpen on judge ↗
Recently Rocky had participated in coding competition and he is sharing one of the problem with you which he was unable to solve. Help Rocky in solving the problem. Suppose the alphabets are arranged in a row starting with index $0$ from $A to Z$. If in a coded language $A=27$ and $AND=65$. Help Rocky to find a suitable formula for finding all the value for given test cases? (All alphabets ar
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