Back
Close

Sum of Char Codes

Statement

 Goal

You are given a string of characters s. Output the sum of the ASCII value for each character of the string.
Input
Line 1: A string S
Output
Line 1: The sum N of ASCII values
Example
Input
An exemple
Output
959

Game modes
Fastest, Shortest, Reverse

Test cases
Exemple Test
Input
An exemple
Output
959

Exemple 2 Validator Validator
Input
An other exemple
Output
1537

Such wow Test
Input
Such abc much amaze
Output
1748

Such wow Validator Validator
Input
Such xyz much amaze
Output
1817

Camel Case Test
Input
Some Camel Case Are Fun
Output
1971

Camel Case Validator Validator
Input
You Will Love It
Output
1416

Special Characters Test
Input
:;,=)"(]}[{>ggwpez
Output
1491

Special Characters Validator Validator
Input
S0M3 SP3CI4L CHARACT3RS !! This is just impressive :) ;:*%'#+-754/
Output
4654

Solution language

Solution

Stub generator input