haskell 004
							parent
							
								
									7ed2845210
								
							
						
					
					
						commit
						177e937ccd
					
				|  | @ -0,0 +1,6 @@ | ||||||
|  | module Main where | ||||||
|  | 
 | ||||||
|  | palindrome n = show n == reverse (show n) | ||||||
|  | 
 | ||||||
|  | main = do | ||||||
|  |     print (maximum [x*y | x <- [100..999], y <- [100..999], palindrome (x*y)]) | ||||||
		Loading…
	
		Reference in New Issue