6 kyu

How much hex is the fish

487 of 1,080strassi

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 Trained2581
Total Skips718
Total Code Submissions6440
Total Times Completed1080
Python Completions487
JavaScript Completions409
Ruby Completions102
C# Completions139
CoffeeScript Completions7
Scala Completions9
Prolog Completions4
Total Stars41
% of votes with a positive feedback rating89% of 279
Total "Very Satisfied" Votes229
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