Code Chef was upgrading java compiler so all submissions were having Runtime error
However that is resolved now .
If you continue to have this problem of Runtime Error , then mention it that it is not related to compiler upgrade and i will have a look at your code .
Please update if you are still getting Runtime Exception .
@prav90 : Yes could not find a source of exception in your earlier solution also . Need to report this to bugs@codechef.com or feedback@codechef.com as the ERROR CODE returned should be correct . Will investigate this a bit more and if i feel TLE is showing as RE then I will write to admins . Meanwhile if you are sure you may write to CodeChef.
@vineetpaliwal: I got an AC with this solution CodeChef: Practical coding for everyone. I think codechef is reporting NZEC for TLE, because my previous solution was naive, and I wasn’t able to find a place where exceptions could be thrown in my previous submissions.