"This list will include every directory already on your computer other than the root directory." So input should also have /a as one of the directories present. Since its not there, /a doesnt exist. This also means /a/b doesnt exist. The input you gave is invalid.
On 23 May 2010 13:20, RosyIsh <[email protected]> wrote: > Hi, > I was seeing Gluk's code for the round 1B , problem A. I tried the > following test case : > > 1 > 1 1 > /a/b > /a > > The output was Case #1: 1 > > Shouldnt the answer for this test case be 0 or am I missing something? > > thanks. > > > > -- > 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]<google-code%[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.
