IARCS Problem Archive Online Judge giving error in Java?

Hi Everyone.

I’m new to competitive programming and appeared for ZIO this year. I’m getting 50 marks according to the answer key given on this forum, so I was preparing for the INOI.

Here in the Practise Problems for the Lead Game Problem (here) I have successfully submitted and obtained complete result for the problem, however when I submit the same code on the IARCS OPC website, it gives me a ‘0 not returned error’ although the code ends with a System.Exit(0);.

I know that most of the people here have experience in c++, but I’m hoping anybody having an idea about this problem in Java might help me out with it.

Thanks.

It must be System.exit(0) not System.Exit(0)