Блог пользователя Ferrarixxx

Автор Ferrarixxx, история, 4 года назад, По-английски

Sorry to Disturb you but this time i have no idea where i am wrong

My Code : Approach Same as that of Editorial

Problem Link : Problem E Omkar and Duck

Editorial Link

It shows some error that i can't understand and moreover i can't debug this since i don't know the path the tester program has chosen.
So Please Help me out here.

Hoping for a Prompt Reply. :)

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

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

If you look at the test case, the input contains all of the paths that the interactor uses, so you can use that to debug.

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

    Hi,
    Thanks for commenting, Finally some support!

    Here,
    I don't understand how you expect me to get the path.
    The only input i get is a value.

    Anyways you are such a great coder!!
    Can you please help me identify my mistake by looking at the code ?? :)

    Please ?