Positive AND codechef October Long

Problem link :- https://www.codechef.com/OCT20B/problems/POSAND/
Solution link :- https://www.codechef.com/viewsolution/38717814

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…