I figured out the bug after playing with it for long: the array to store strings , namely, s had been declared to be of length L, however, it was actually supposed to be of length N.
-- 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/d2c88341-5268-4bc4-87ca-fb701797f493%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
