Div A Problemset Div B Problemset
Input 1 is specified incorrectly - the image and explanation provided is assuming line 2 reads 3 5 7, rather than 3 5 6. Luckily in both cases the answer is the same.
3 5 7
3 5 6
Comments
Input 1 is specified incorrectly - the image and explanation provided is assuming line 2 reads
3 5 7
, rather than3 5 6
. Luckily in both cases the answer is the same.