I was solving the problem 607A - Chain Reaction and got WA on test case 11. Here's my submission 82317236. dp[i] is basically the number of destroyed beacons if we consider the coordinates
[0,i]. numBeacons[i] is the total number of beacons again in
[0,i]. Please help me where I am wrong. Have been stuck in this problem for a while now.