Created
June 16, 2016 07:46
-
-
Save rrees/ddf6b7abffe4a1c4ae5163f8c83b10f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use '[clojure.string :only (split triml)]) | |
( | |
let [ | |
n_t (read-line) | |
n (Integer/parseInt n_t) | |
] | |
( | |
let [ | |
arr_temp (read-line) | |
arr_t (split arr_temp #"\s+") | |
arr (map #(Integer/parseInt %) arr_t) | |
] | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment