Okay, so I was doing some practice problems for USACO and noticed that for one of the problems, you needed to add all values of an array up to a certain value. For an exampl