I too agree the repetition would be there after N times.... and @Luke.. you missed that... after [1,1,1,1,1,1] and [6] ... again... [1,1,1,1,1,1] & [6] will come.. so... obviously... not only one group will get repeated but a there might be a set of group like that... try group sizes = [1,4,2,1] for... R = 10 and k = 6... :-)
-- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
