Sorry, I realize after posting the question that ants need not to be 
consecutive.

Thanks

Le mercredi 9 mai 2018 01:05:21 UTC+2, Luke Pebody a écrit :
> 1 2 3 1 2 3 4 is valid
> 
> 
> On Wed, 9 May 2018, 12:00 am Sergio Dos Santos, <sergi...@gmail.com> wrote:
> Hi,
> 
> 
> 
> I have one test case for which I don't understand the output of most of the 
> valid solutions.
> 
> 
> 
> If I consider the following test case :
> 
> 
> 
> 1
> 
> 11
> 
> 43 7 1 2 3 43 7 1 2 3 4
> 
> 
> 
> As far as I have understood the problem, the possible stacks are the 
> following : 1 2 3 43 and 1 2 3 4. They both have a length of 4.
> 
> 
> 
> However solution in rank #1 (and all valid solutions I've checked so far) 
> return 7.
> 
> 
> 
> What have I missed ?
> 
> 
> 
> Thanks,
> 
> Sergio
> 
> 
> 
> -- 
> 
> You received this message because you are subscribed to the Google Groups 
> "Google Code Jam" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-code...@googlegroups.com.
> 
> To post to this group, send email to googl...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-code/e82a8a6a-659b-49ab-b95f-c5766ce47afa%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/997aea79-c1b4-41e9-9b85-bf540a18c702%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to