Re: Clojure finally on SPOJ!

2010-07-28 Thread Cachou
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. Only the class loading time will TLE the
problem if there is more than 2 cases.

I hope It's not true...

On Jul 27, 5:39 pm, Matthias Schneider 
wrote:
> 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 (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  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 clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Clojure finally on SPOJ!

2010-07-27 Thread Nikita Beloglazov
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
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Clojure finally on SPOJ!

2010-07-27 Thread Matthias Schneider
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 (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  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 clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Clojure finally on SPOJ!

2010-07-25 Thread Cachou
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  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 clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Clojure finally on SPOJ!

2010-07-25 Thread sphere research
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 clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en