object Hoge { } println(Hoge.hoge(2)) }
Standard input is empty
/opt/scala/bin/scalac: line 50: /dev/null: Permission denied Main.scala:6: error: too many arguments for method hoge: ()String println(Hoge.hoge(2)) ^ one error found spoj: The program compiled successfully, but Main.class was not found. Class Main should contain method: def main(args: Array[String]).
Standard output is empty