Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    I see. Thanks! I am new to this site and just figuring out its nifty tricks :D

  • Custom User Avatar

    What was meant here is that you print inputs to see what the failing test case looks like, and you recreate this test case either in your local IDE, or add it to "Example test cases" window in the trainer, and debug through it.

  • Default User Avatar

    Printing each step (and the corresponding board) helped. and whenever it randomly worked I just changed anything in the code so it has to be attempted again. It was a weird mistake since I apparently didnt test every combination.

    Thanks. Now I am actually happy about my solution even if it is kinda inefficient!

    How does one attempt a fixed test with the - random - attempt cases?

  • Custom User Avatar

    print the inputs, then debug it as a "fixed test"

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution