/opt/scala/bin/scalac: line 50: /dev/null: Permission denied
Main.scala:8: error: inferred type arguments [Nothing,Main.Q[Int]] do not conform to class R's type parameter bounds [C,T <: Main.Q[C]]
new R(new Q[Int])
^
Main.scala:8: error: type mismatch;
found : Main.Q[Int]
required: T
new R(new Q[Int])
^
two errors found
spoj: The program compiled successfully, but Main.class was not found.
Class Main should contain method: def main(args: Array[String]).