Created
July 14, 2015 06:16
-
-
Save hikoz/4f62ff267fb99ccbd130 to your computer and use it in GitHub Desktop.
Revisions
-
hikoz created this gist
Jul 14, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ (let [ws '(進捗 どう です か) wc (count ws) l (loop [r [] i 0] (let [n (rand-int wc) s (nth ws n) r (conj r s)] (if (= n i (dec wc)) r (recur r (if (= n i) (inc i) 0))))) s (apply str l)] (printf "%s???\n%s文字で煽られました。\n" s (count s)))