I did the same too, there was no other logic except this one. Though my output was stated incorrect, so I thought there is more to it then just this, and left the problem. Didn't want to do a brute force approach. Is there any other logic required except this, of this is enough?
On Mon, Apr 15, 2013 at 8:05 PM, JF Dionne <[email protected]> wrote: > This is what I did too. > > -- > 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/msg/google-code/-/wzwBg2MFyUAJ. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
