Created
January 26, 2012 11:02
-
-
Save stepankuzmin/1682247 to your computer and use it in GitHub Desktop.
Project Euler. Problem 4.
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
lists:max([Z || Z <- [X*Y || X <- lists:seq(1, 999), Y <- lists:seq(1, 999)], lists:reverse(erlang:integer_to_list(Z)) == erlang:integer_to_list(Z)]). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment