Positive AND codechef October Long

Problem link :- CodeChef: Practical coding for everyone
Solution link :- CodeChef: Practical coding for everyone

For some reason the sub-task1 Task# 0 is giving RE(NZEC) error. All the other test cases passed but that case is not working out. Please someone help me out

Brother I have tried on this and invested 30 minutes on this and still not getting the error.
Is there someone java coder who can help out.
@abelyan Kindly check it out. please

thanks a lot bro… let’s hope someone can help us out… I’m really frustrated with this problem…