Ad
  • Custom User Avatar

    Is it possible that your solution crashes, or has an infinite loop?
    If not, it's possible it's a kata bug. What language is this? Can you share your code? (see here how: https://docs.codewars.com/training/troubleshooting#post-discourse)

  • Custom User Avatar

    can someone explain to me what this error means:

    Response received but no data was written to STDOUT or STDERR.

  • Custom User Avatar

    If you're only printing, you're passing exactly 0 tests, I don't understand how you can reason otherwise.

    You can still print, but you HAVE TO return the result for tests to receive your answer.

    If your every output matched the desired output, you'd be passing the tests. Clearly that's not the case. Are you using any global variables? That could produce unexpected results.

    What errors are you getting? Which assertions are you failing? Could you provide an example of what you see?

    The platform is fine, you just need to learn how to use it.

    Be descriptive with the problems you encounter, not using some vague "doesn't work" nonsense and downvoting people trying to help you. We can't see your code or what you see on your screen, so...

    For general troubleshooting, this article is a good starting point to answer some of your questions: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution

  • Custom User Avatar

    I tried returning. That produced even less results than printing.
    At least with printing I see every output matches their desired output.
    When I just return they still score 0, but show no output from me. This platform is screwed.
    I wanted to progress to harder problems, but not if every problem is going to say I am wrong when I am right.

  • Custom User Avatar

    Because you're printing the result, not returning (what you should do)

  • Custom User Avatar

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

  • Custom User Avatar

    My solution is very similar to most of the C# code posted here. I have to say the site is pretty cool. I know that I will learn and become a better coder because of this site. Thank you for such a great tool! :)

  • Custom User Avatar

    Do not use input(). Do not use print(), use return. Do not call your function yourself, that's what the tests will do.

  • Custom User Avatar

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