Skip to content

Instantly share code, notes, and snippets.

@boxp
Created October 28, 2013 12:25
Show Gist options
  • Save boxp/7195959 to your computer and use it in GitHub Desktop.
Save boxp/7195959 to your computer and use it in GitHub Desktop.
ABC#2 2問目
(ns atcoder.core
(:use [clojure.string :only (join split split-lines)]))
; don't fix me
(defn gen-args
[input]
(split-lines input))
; start code section
(defn main
[args]
(let [input (first args)]
(.log js/console
(apply str
(remove #((set "aiueo") %) input)))))
; don't fix me
(defn ^:export debug
[]
(main
(gen-args
(.. js/document
(getElementById "input")
-value))))
; don't fix me
(set! *main-cli-fn*
(main
(gen-args
(.. (js/require "fs")
(readFileSync "/dev/stdin" "utf8")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment