← All problemsSign in

Parking Lot

Harshit is incharge of a parking lot. Each car is assigned an lowercase alphabet C when they enter the lot. Harshit has to collect the money when the car leaves the parking. The amount is the ascii value of C. Tell the value of amout collected. $Input Format:$ First line contains the alphabet C. $Output Format:$ Print the amount collected. Example: Input d Output: 100

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