BGMI1 EDITORIAL

Given an array and health, we need to find out If the sum of array elements is strictly greater than
the health of an enemy, be careful while computing sum, as the sum of array elements, might go beyond the range of int.

the solution to the above problem can be found here: Array Sum