6 kyu

How much hex is the fish

488 of 1,088strassi

Description:

How much is the fish! (- Scooter )

The ocean is full of colorful fishes. We as programmers want to know the hexadecimal value of these fishes.

Task

Take all hexadecimal valid characters (a,b,c,d,e,f) of the given name and XOR them. Return the result as an integer.

Input

The input is always a string, which can contain spaces, upper and lower case letters but no digits.

Example

fisHex("redlionfish") -> e,d,f -> XOR -> 12

Strings
Fundamentals

Stats:

CreatedApr 18, 2016
PublishedApr 18, 2016
Warriors Trained2587
Total Skips718
Total Code Submissions6483
Total Times Completed1088
Python Completions488
JavaScript Completions413
Ruby Completions103
C# Completions142
CoffeeScript Completions7
Scala Completions9
Prolog Completions4
Total Stars41
% of votes with a positive feedback rating89% of 281
Total "Very Satisfied" Votes231
Total "Somewhat Satisfied" Votes37
Total "Not Satisfied" Votes13
Total Rank Assessments36
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • strassi Avatar
  • jhoffner Avatar
  • dnolan Avatar
  • natan Avatar
  • is151014 Avatar
  • user5036852 Avatar
  • hobovsky Avatar
  • stellartux Avatar
  • farhanaditya Avatar
  • KayleighWasTaken Avatar
  • saudiGuy Avatar
Ad