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