Can someone tell me what’s wrong in this.
Here is the code CodeChef: Practical coding for everyone
for input
1
4
1100
your code’s output:0
Correct Output:1
Hint:Store the indices of buildings containing the bombs in an array and change your string accordingly