The ant stack doesn't need to be a consecutive subsequence of the weight list.  
We may pick any subset of the ants for our tower -- but they just must remain 
in the same relative order as in the original list.

As Luke mentioned: 1 2 3 1 2 3 4 is the valid answer. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/eaab794c-aa7f-43de-95a4-55d9e18074fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to