Back
Close

Number&ASCII Characters

Statement
reverse

Input description
reverse

Output description
reverse

Constraints

Game modes

Test cases
Test 1 Test
Input
If string length is even get unicode value of first char, else get unicode value of last char, then get ascii value of last digit of the unicode value.
Output
54

Validator 1 Validator
Input
{XY%D$8#V>V4=Xâ– NCRP0â–¡Y4*#;2C&N+"EHâ–ª$+8â–¢
Output
52

Test 2 Test
Input
The tea in Nepal is very hot
Output
52

Validator 2 Validator
Input
6J669061OVQOAVBEDB2SFSWPENR
Output
50

Test 3 Test
Input
wlKCiHoktl24KqtSruu0ODUftBU6PZ26TQC4yL
Output
57

Validator 3 Validator
Input
1N94UAQrCFwfqUVuBSQLs8Y3Ua05iCOyuNBXZSSrX1afK
Output
53

Test 4 Test
Input
I don't think this is difficult at all because in fact, it is so easy
Output
49

Validator 4 Validator
Input
Mount Everest lies in Nepal
Output
56

Test 5 Test
Input
Is this number 51 ok cool if it is
Output
51

Validator 5 Validator
Input
Ejr4asypD1uBqQNRE0se8fyC8iUB0Gak30lyGNMJ45
Output
57

Test 6 Test
Input
LOL this is really easy, trust me
Output
49

Validator 6 Validator
Input
CuFE1LIQDG9JNl9TSHW1pRDwL1BQKWk5huipeZo5
Output
55

Test 7 Test
Input
Guys,December is so cold in Kathmandu.I mean it's literally 12 degree celsius currently!! :O
Output
49

Validator 7 Validator
Input
apple
Output
49

Solution language

Solution

Stub generator input