Ad
  • Default User Avatar
  • Default User Avatar

    Sorry but there are no errors in the tests. I tried several solutions and all worked fine. It's not that test you fail. Print carefully the two arrays and your ouput. Print something between your printing so you can easily see each test.

  • Custom User Avatar

    That test expects false, there is nothing to fix.

  • Custom User Avatar

    Guys, almost 500 completions in python, and near 85 in PHP. There is no infinite loop anywhere except in your implementation. Meaning, you misunderstood some instructions and aren't implementing the code correctly.

    Print stuff from inside your loops, this way you'll hit the buffer limit before timing out and get some feedback to correct your code.

    no issue, closing.

  • Default User Avatar

    Happens in python as well. I'm caught on the exact same infinite loop.

  • Default User Avatar

    @aidbull: problem fixed. Try again:-) Thanks for your post!

  • Custom User Avatar

    Mmmmh... I might have been a bit fast here, sorry... x)
    Just saw that you use PHP and that there are only 3 completions for now. Well, let's see.

  • Custom User Avatar

    Hi,

    Seems you're "rather new" to cw, so here are some general guidelines about the comments:

    • Issue: problem in the kata itself (description, wrong tests, wrong internal solution...)
    • Suggestions: well, I guess that part is clear
    • Question anything else that is related to you having a problem solving a kata -> that's you, currently.

    When you post issues:

    • provide ALL the useful information:
      • language
      • input
      • outputs (actual expected) when relevant
      • error message when relevant
    • check, DOUBLE check that this IS an issue, meaning that the problem is in the kata itself and not in your code. If it's in your code, post rather a question
    • if you pass this step, you still have to prove/explain what the issue is (and if you can provide fixes, it's even better)

    When you post a question: well, most of the above apply too x)

    When you post code, use proper github markdown, so that it's readable.

    I cannot help for your current problem but other may... If you give enough feedback. Feel free to develop more here, but I close the "issue" aspect.

    cheers