Created
February 9, 2012 23:35
-
-
Save phylake/1784271 to your computer and use it in GitHub Desktop.
1.61803398874.com solution
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
l = "xfbhlqtlj".split('').collect {|c| c[0] - 97} | |
k = [6,1,8,0,3,3,9,8,8] | |
l = l.zip(k).collect do |p| | |
t = (p[0] - p[1]) % 26 | |
t += 97 | |
t.chr | |
end | |
p l.join('') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment