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