ByteCode: Diffusing a Bomb. Whats wrong with my JAVA code?

Hi

I have written the following code in JAVA. its working fine in NetBeans but I am getting “WRONG ANSWER” in the CodeChef compiler.

Following lines are my code:

// code deleted