Problem Link: BOMBTHEBASE Problem - CodeChef

### Feedback

Why in the first testcase the count of house destroyesd is 6. It should be 4.

Problem Link: BOMBTHEBASE Problem - CodeChef

Why in the first testcase the count of house destroyesd is 6. It should be 4.

@anujlm - you are interpreting the question differently. The statement says.

When the i^{th} house is destroyed due to the bomb, all houses with indices j such that $1 \leq j get destroyed as well **irrespective** of their defence system.

Hence for the 1st test case - all houses to the left of the house with strength 5 will be destroyed - including this house.