Last active
August 29, 2015 14:01
-
-
Save jhedev/20bd3c40a2c3aad7105b to your computer and use it in GitHub Desktop.
Revisions
-
jhedev revised this gist
May 13, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ sum $ map (\(a,b) -> a*b `mod` 103) $ map (\(a,b) -> ((256^(7-a)) `mod` 103,b)) $ zip [1..] $ map (`mod` 103) $ map ord "string" -
jhedev renamed this gist
May 13, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jhedev created this gist
May 13, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ sum $ map (\(a,b) -> a*b `mod` 103) $ map (\(a,b) -> ((256^7-a) `mod` 103,b)) $ zip [1..] $ map (`mod` 103) $ map ord "string"