You are viewing a single comment's thread. Return to all comments →
:)
string s = Console.ReadLine(); Console.WriteLine(Enumerable.Range(0, s.Length / 2) .Sum(i => Math.Abs(s[i] - s[s.Length - i - 1])));
Seems like cookies are disabled on this browser, please enable them to open this website
The Love-Letter Mystery
You are viewing a single comment's thread. Return to all comments →
:)