abstract class Box[+A] { def set[B >: A](x : B) : Box[B] }
Standard input is empty
/opt/scala/bin/scalac: line 50: /dev/null: Permission denied 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
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!