You are viewing a single comment's thread. Return to all comments →
Or use a real functional language! ;-) This is the Haskell version:
import Data.List(intersect) main = interact $ show . (length . foldr (flip intersect) ['a'..'z']) . tail . lines
Seems like cookies are disabled on this browser, please enable them to open this website
Gemstones
You are viewing a single comment's thread. Return to all comments →
Or use a real functional language! ;-) This is the Haskell version: