Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. (use '[clojure.string :only (split-lines)]
  2. '[clojure.set :only (intersection)])
  3.  
  4. (->> split-lines (slurp *in*)
  5. rest
  6. (map set)
  7. (apply intersection)
  8. count
  9. println)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement