← All problemsSign in

Grade of the student

An institute had lost all the grades of its students by some mishap and is not able to give the results to its students. So, They decided to give the grades with their names, using the following method. All the letters starting from a to z are assigned integers with their position in that order. a-1, b-2, c-3,...and so on. The same goes for Capital letters. Then, the name’s corresponding inte

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