Hi-5, same misunderstanding here, it turns out that when I saw that, I thought it was going to be too much work (I would need a vector or a tree with the values and places of opposite chars.. probably leading to various typewriting errors and wrong referenced values) and discarded this problem from my todo list.. :D Good luck on next round! --- grato,
Gustavo Pacianotto Gouveia Escola Politécnica da Universidade de São Paulo <[email protected]> [email protected] [email protected] [email protected] On Sat, May 7, 2011 at 10:57 PM, tx Lou <[email protected]> wrote: > Right, dude. The appended list has to be cleared thoroughly, and then add > on new elements. I made the same mistake and submitted 7 incorrect answers. > Good luck > > > 2011/5/8 Masaya Hakamata <[email protected]> > >> Maybe I found it by myself. >> >> If founding opposite, I have to clear the list. >> But I cleared between opposite chars (most left to right). >> >> If AB is opposite. >> >> Input : XABC >> >> my output -> XC >> correct -> C >> >> right? >> >> -- >> 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. > -- 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.
