Please can anyone tell where I’m going wrong . I really appreciate your help.
My solution link :
https://www.codechef.com/viewsolution/55525998
Your solution gives the wrong output for the following test input:
1
5
0100010011
Please can anyone tell where I’m going wrong . I really appreciate your help.
My solution link :
https://www.codechef.com/viewsolution/55525998
Your solution gives the wrong output for the following test input:
1
5
0100010011