Recently I took up a problem to solve using java but it showed NZEC error on submission. Problem can be viewed here:: http://www.codechef.com/problems/DIVISORS/
My solution is here. Plz take a look at it and suggest the reasons due to which I get NZEC.