Maximum Number of Operations With the Same Score I
Fix the score from the first pair, then take pairs from the front while each one sums to that score.
Fix the score from the first pair, then take pairs from the front while each one sums to that score.