• Custom User Avatar

    Remove the last two lines of your code. This doesn't work. Just click on Test or Attempt to launch the tests.

  • Default User Avatar

    Traceback (most recent call last):
    File "/workspace/default/tests.py", line 2, in
    from solution import fake_bin
    File "/workspace/default/solution.py", line 8, in
    x = input()
    EOFError: EOF when reading a line
    что это значит?

  • Default User Avatar

    Actually, very easy. But, for beginners it's ok.

  • Custom User Avatar

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

  • Custom User Avatar

    C# Function name should use PascalCase

  • Default User Avatar

    failed because couldn't find table name

  • Custom User Avatar

    I thought it would be an issue if codewars did something the language's native environment did not do, which is why I flagged it. Restating the solution I posted 5 months ago and not addressing the difference I pointed out between the environments makes it seem like we are discussing different things. I am not asking for assistance with a solution, I am pointing out that codewars added a leading space to an unitilized variable where powershell ise did not.

  • Custom User Avatar

    I'm trying to solve these problems in Kotlin(begginer), and I'm unable to write solutions for the basic problems like these, any Blogs/Github repositories recommendation that I should follow?

  • Custom User Avatar

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

  • Custom User Avatar

    Yes you are right, probably the maker of puzzle don't know nothing about relative speed.

  • Custom User Avatar

    Non respect of Scala naming conventions.

    pontoon_distance should be pontoonDistance

  • Default User Avatar

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

  • Custom User Avatar
  • Default User Avatar

    R: tests not behaving as expected. For random tests, s is not a string but a vector of single characters. The expected results here are (almost always) length(s) times "Back..."

  • Custom User Avatar

    What i mean is that I do not know exactly, but I really doubt that it's an issue with runner or Codewars environment. If it were Codewars fault, then the space would be added always, and not only when the variable is uninitlized, right? I was able to fix your solution just by adding three characters to it. I added = "" and it worked.
    Having to choose between some mysterious bug in Codewars and an error caused by an uninitialized variable, I'd bet on the latter, or maybe some other thing I dont understand yet, like some syntax clash or something.

    I checked some other solutions, and checked reference solution and checked your solution after my change, all of them work. Currently the only problem is with your solution, which contains some suspicious syntactic construct i dont exactly understand (because I'm too noob with Powershell), but seems to be a culprit and cause of your problems.

  • Loading more items...