Problem 3110 · Easy

Score of a String

Add the absolute difference of the alphabet codes of each pair of neighboring letters.

Open the interactive visualisation