Блог пользователя M.A.H.M.O.O.D

Автор M.A.H.M.O.O.D, история, 7 лет назад, По-английски

Hi everyone,

I was just solving 707D - Persistent Bookcase and I got WA on test 9.

I really have no idea what's wrong with my solution could somebody please help me to debug it I've tried real hard but to no avail.

my code 22511356.

Thank you for reading.

:)

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится

»
7 лет назад, # |
Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

Maybe you should not print the answer immediately, but store it in an array. Because you need to output the answers in the order of the queries, not in the DFS order. 22512177

  • »
    »
    7 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Oh my god thank you very much man, I'm so stupid...don't think I'll ever reach Div 1.

    Still thanks very much.

    :)