Created
August 13, 2012 15:59
-
-
Save ichirin2501/3342185 to your computer and use it in GitHub Desktop.
Project Euler 22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!perl -apnF',' | |
$c++,s/[^"]/$s+=(ord($&)-64)*$c/eg for sort@F; | |
$_=$s; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment