Hello,
I was solving problem 11. Factorial and had this error.
Problem was in my main method - when there I had
public static void main(String[] args) throws Exception {
...
}
I got the error, when I changed it to
public static void main(String[] args) {
try {
...
} catch ( Throwable t ) {
t.printStackTrace();
}
}
it's working fine...
In Java world these two are almost the same, but for the judge it's NOT
Maybe it helps someone else too 