Question
Greatest product of five consecutive digits in a 1000-digit number
I am working through the problems on project Euler and am not too certain if my understanding of the question is correct.
Problem 8 is as follows:
Find the greatest product of five consecutive digits in the 1000-digit number.
I have taken this to mean the following:
I need to find any five numbers that run consecutively in the 1000 digit number and then add these up to get the total. I am assuming that the size of the numbers could be anything, i.e. 1,2,3 or 12,13,14 or 123,124,124 or 1234,1235,1236 etc.
Is my understanding of this correct, or have I misunderstood the question?
Note: Please don't supply code or the solution, that I need to solve myself.