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.16 KB | None | 0 0
  1. (use '[clojure.string :only (split-lines)]
  2. '[clojure.set :only (intersection)])
  3.  
  4. (->> (slurp *in*) split-lines rest (map set) (apply intersection) count println)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement