Check this out: http://en.wikipedia.org/wiki/Necklace_problem

On Fri, Jun 4, 2010 at 9:40 PM, Paul Smith <[email protected]> wrote:
> I don't get it...
>
> Paul Smith
>
> [email protected]
>
> On Fri, Jun 4, 2010 at 8:02 PM, Matteo Landi <[email protected]> wrote:
>> ehhehe, well said!
>>
>> On Fri, Jun 4, 2010 at 3:39 PM, Nikhil Mishra <[email protected]> wrote:
>>> If Its a necklace Problem, It Has to be
>>> Pebody...................................
>>>
>>> Cheers,
>>> Nikhil
>>>
>>> On Wed, Jun 2, 2010 at 9:23 PM, mtsay <[email protected]> wrote:
>>>>
>>>> Hi,
>>>>
>>>>  This problem can be broken down and simplify into looking for the
>>>> longest contiguous red block + blue block where red block := (R | W)*
>>>> and blue block := (B | W)*, so you really just need one scan through
>>>> an ordinary array.
>>>>
>>>> On Jun 2, 9:30 am, maverick gugu <[email protected]> wrote:
>>>> > Hi,
>>>> >
>>>> >   I couldn't make it round 2. But being my first time, it was a nice
>>>> > experience. :-) Hope to get more competitive the next time.
>>>> >
>>>> > I was just working out on a few programs in the mean time. I found some
>>>> > difficulty,
>>>> > This problem is called BROKEN NECKLACE. It would be nice if you can
>>>> > guide me
>>>> > with respect to C/C++.
>>>> > Link for problem
>>>> > Statement:http://www.tjhsst.edu/~rlatimer/assignments2003/usaco3.html
>>>> >
>>>> > Was wondering if there is any new data structure to be introduced into
>>>> > this
>>>> > one? like a circular linked list or so. It is a little tedious with an
>>>> > array.
>>>> >
>>>> > Good luck for those who have made it to round 2.
>>>> >
>>>> > Thanks,
>>>> > Maverick
>>>>
>>>> --
>>>> 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.
>>>>
>>>
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>> Matteo Landi
>> http://www.matteolandi.net/
>>
>> --
>> 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.
>>
>>
>
> --
> 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.
>
>



-- 
Matteo Landi
http://www.matteolandi.net/

-- 
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.

Reply via email to