Smallest positive integer that cannot be represented as the sum of a subset of a sorted array

easy