Even the "TEST" Problem will TLE!!!
My code is here:
(ns spoj-test)
(defn read-int
[]
(let [s (read-line)]
(Integer/parseInt s)))
(defn main
[] (let [n (read-int)]
(when (not (== 42 n))
(println n)
(recur))))
(main)
the sample input is OK.
On Jul 25, 3:51 pm, sphere research <[email protected]> wrote:
> Hi,
>
> now, you can solve problems/submit problems in Clojure on SPOJ,
>
> good luck,
>
> regards,
> SPOJ Team
>
> ps.
>
> We are very happy to announce that users' accounts have finally
> appeared on Ideone :)
> If you liked Ideone as it has been so far, you will like the new one
> even more. The most important new features available for Ideone users
> are:
>
> * management panel where users can view and group their pastes,
> * personalized access to Ideone API
> * and public folders which allow to publish and share a group of
> pastes at one go.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en