Page 1 of 1

996 - Find the Sequence & 997 - Show the Sequence

Posted: Fri Jan 05, 2007 10:14 am
by rio
In the statement, ' * ' operator is defined as

Code: Select all

Vi = {m*S1  if i = 1, Vi-1 + Si-1  if i > 1}
But this definition doesn't match to the samples, so I think it should be

Code: Select all

Vi = {m*S1  if i = 1, Vi-1 * Si  if i > 1}
I got both AC with this definition.

Posted: Fri Jan 05, 2007 10:59 am
by little joey
Yes. That's also how it was defined in the original contest problemset http://www2.mat.ua.pt/delfim/delfim/art ... UP2004.pdf.

Posted: Fri Jan 05, 2007 7:21 pm
by Carlos
I've just told Miguel.

It's fixed now

Posted: Mon Jan 08, 2007 8:30 pm
by miguel
Have you made cut and paste any time? Sorry.