It seems you can't use clojure properly to solve the problems. It is know that the startup time is quite big for it, but spoj does not take that into account.
I tried to start with s.th. simple and I am demotivated now.
- "The Knapsack Problem", did TLE even with (println "hello")
- "DIVSUM - Divisor Summation", (println "hello world") worked but when reading all lines it got an TLE
It is not possible to add a startup baseline time for some languages?
In addition to that clojure can be compiled prior to execution in order to reduce the time.
I came for the clojure support, it would be sad if I had to leave.