Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (use '[clojure.string :only (split-lines)]
- '[clojure.set :only (intersection)])
- (->> split-lines (slurp *in*)
- rest
- (map set)
- (apply intersection)
- count
- println)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement