7 kyu

Hex Hash Sum

140 of 2,174Hoff Starr

Description:

Complete the function that accepts a valid string and returns an integer.

Wait, that would be too easy! Every character of the string should be converted to the hex value of its ascii code, then the result should be the sum of the numbers in the hex strings (ignore letters).

Examples

"Yo" ==> "59 6f" ==> 5 + 9 + 6 = 20
"Hello, World!"  ==> 91
"Forty4Three"    ==> 113
Mathematics
Security
Fundamentals

Stats:

CreatedMar 22, 2018
PublishedMar 23, 2018
Warriors Trained3655
Total Skips50
Total Code Submissions6873
Total Times Completed2174
TypeScript Completions140
JavaScript Completions817
Python Completions1171
Ruby Completions109
Factor Completions9
C Completions29
Total Stars41
% of votes with a positive feedback rating93% of 404
Total "Very Satisfied" Votes353
Total "Somewhat Satisfied" Votes46
Total "Not Satisfied" Votes5
Total Rank Assessments18
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Hoff Starr Avatar
  • anter69 Avatar
  • smile67 Avatar
  • fyvfyv Avatar
  • Blind4Basics Avatar
  • trashy_incel Avatar
  • ejini战神 Avatar
  • Kacarott Avatar
  • tri@ Avatar
Ad