Greatest subsequence product

Let S be the continuous subsequence of numbers in this file that has the greatest product P. What are the first three digits of P?

For example, for the sequence [1, 6, 2, -1, 2], S = [1, 6, 2], and P = 12.

Click here to open the file.

Details and assumptions

Assume that the product of a single number is itself.


Problem Loading...

Note Loading...

Set Loading...