Ad
  • Custom User Avatar

    My solution failed one of the sample tests -- I returned [[0]] instead of [] -- but passed the entire set of tests on Attempt. That should not happen. The easiest way to fix that might be to add that failed test to the complete set, so it gets caught there, too.

  • Custom User Avatar

    Yes, I see that now. Looks good!

    I would still suggest that you should indicate the precedence of error messages when there's more than one thing wrong with the input. You can simply look at how your reference solution handles these situations and then explain that precedence in your description.

  • Custom User Avatar

    Hi Colonel,
    That sounds fine, but I'm not seeing the change yet in the description. Do you need to save it or something to make it visible to others?

  • Custom User Avatar

    See the issue raised and then prematurely closed 23 days ago (below). You have still not specified in your description what is to be done with zero-length strings in lines 2 and 4.

  • Custom User Avatar

    It is NOT fully addressed, because the description still does not specify what is to be done with zero-length strings in lines 2 and 4.

  • Custom User Avatar

    Big time fun! Forced me to reconsider my approach a few times along the way. Prior knowledge of chess was definitely helpful. Thanks for creating this!

  • Custom User Avatar

    Changed Python and JavaScript tests to allow a tolerance of 0.01.

  • Custom User Avatar
  • Custom User Avatar

    Fun challenge of reasonable difficulty. Thanks for creating it!

  • Custom User Avatar

    The description states: "goal goes up to 10^10!" That's a pretty large number. In fact, this is probably why I haven't solved this one yet myself :-)

    (Well, that, and it reminds me of the middle school kids I tried to teach while they were more interested in playing clicker games on their laptops.)

  • Custom User Avatar

    "But my code has to be right!"

    (...re-reads description...)

    "Oops, it doesn't say 'first char minus last char.'" :P

  • Custom User Avatar

    Thanks. I changed my satisfaction rating accordingly.

  • Custom User Avatar

    Reading the description and looking at the examples, it appears as if the board is always seen from White's perspective (i.e., with White pawns moving from bottom to top and Black pawns moving from top to bottom). Is that true for all tests?

    EDIT: Apparently so, but this ought to be mentioned in the description.

  • Custom User Avatar

    The "Your Task" section of the description calls for multiple houses to be connected by the word "or" (and tests expect this, too). But your example in the description shows the word "and" instead. This should be corrected.

  • Custom User Avatar

    Great fun! Kept me busy for several hours until I realized a few key things. Thanks for creating it.

  • Loading more items...