I solved the C problem (welcome) using a tree structure. Running with small input I got no errors, but when I run for the big input my program runned like a turtle and eight minutes wasn't enought to solve it.
----- Original Message ----- From: "MagicLi" <[email protected]> To: "google-codejam" <[email protected]> Sent: Thursday, September 03, 2009 10:53 PM Subject: [gcj] Re: how is everyone going on the qualification round I am curious how to see the solutions, especially for problem C. I use C++. On Sep 3, 9:50 pm, Dhruva Sagar <[email protected]> wrote: > Yes I did exactly the same. > I did in ruby. And yes I found that we can download the solutions :) > > Thanks & Regards, > Dhruva Sagar. > > Jonathan > Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html> > - "May you live every day of your life." > > On Fri, Sep 4, 2009 at 7:16 AM, Pedro Henrique Calais < > > > > [email protected]> wrote: > > Yes, they are available on the web site. > > > My solution for problem A was just to convert the words to regexs: > > > (ab)c(cd) --> [ab]c[cd] > > > and then tested the regex against all the vocabulary of the language. > > > -- Pedro > > > On Thu, Sep 3, 2009 at 10:44 PM, Dhruva Sagar > > <[email protected]>wrote: > > >> I finished only problem A for both small & large :(. > >> Came close to finishing B, but time ran out. > > >> Is it possible to see others' solutions ? I would love to. > > >> Thanks & Regards, > >> Dhruva Sagar. > > >> Pablo > >> Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> > >> - "Computers are useless. They can only give you answers." > > >> On Fri, Sep 4, 2009 at 6:55 AM, MagicLi <[email protected]> wrote: > > >>> I finish problem A&B, for problem C, I finish the small input, my > >>> program fail the large input. I think there is better algorithm to > >>> work it out. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
