Looks like Scala compiler is misconfigured

Submission: http://www.codechef.com/viewsolution/2491335
result:

/spoj/scala_compile:
/opt/scala/bin/scalac: /usr/bin/env:
bad interpreter: No such file or
directory spoj: The program compiled
successfully, but Main.class was not
found. Class Main should contain
method: def main(args: Array[String]).

2 Likes

@mcveat :Instead of writing object TEST write object Main .Fixing this will get AC.

Link : CodeChef: Practical coding for everyone

Indeed, the problems is there for months, please fix it

Bro do you have a template for Scala??