Maybe SPOJ treat clojure as script language. In fact, though clojure
is quite fast, loading the clojure.jar library takes a bit of time.
And SPOJ count the class loading time into the running time. If the
Judge Machine is similar to ideone.com, maybe the clojure.jar loading
time is about 0.6~0.7s.
Yes, it would be great to see example of any program, that passed all tests
on spoj written in clojure. Even if first task has got TLE...
> On Jul 25, 12:34 pm, Cachou wrote:
> > Even the "TEST" Problem will TLE!!!
> >
>
--
You received this message because you are subscribed to the Google
Gro
And on nearly all problems Clojure isn't an accepted language (yet?).
Does the person who submitted the problem has to update this?
-matthias
On Jul 25, 12:34 pm, Cachou wrote:
> Even the "TEST" Problem will TLE!!!
>
> My code is here:
>
> (ns spoj-test)
>
> (defn read-int
> []
> (let [s (re
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
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 fea