Ad
  • Custom User Avatar

    Well, this one is ancient, so it might be the reason

  • Custom User Avatar

    But it actually is very annoying that kata's difficulty has a very weak correlation with its actual level of difficulty

  • Custom User Avatar

    Free points, lol

  • Custom User Avatar

    This line of your oslution is very wrong and causes a very serious bug: int length = sizeof(str) / sizeof(char);. You need to fix it and change to something what actually calculates the length of the input string.

    When you fix it, you still have an off-by-one bug to fix, but this will be, hopefully, an easy part.

    Your solution has a serious bug which trips ups the tests. Bugs in your solution are not a kata issue.

  • Custom User Avatar

    The missong quotation mark means that your returned string contains somr unprintable trash at the end. I agree that the message is confusing, but your solution still is most probably incorrect.

  • Custom User Avatar

    Too easy to be a 5, this should be 7 at best.

  • Custom User Avatar

    i suggest to delete this kata or the other one as it is a duplicate of https://www.codewars.com/kata/530e15517bc88ac656000716 i only worked on the other kata's solution and it worked for this one too! and i got double the amount of honor

  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar
  • Default User Avatar

    see here

  • Custom User Avatar

    solved

  • Custom User Avatar

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

  • Custom User Avatar

    I don't get it. It looks ok to me.

  • Custom User Avatar

    C# Random tests have actual and expected swapped.

    Random Strings
    Test Failed
      Input: wyqxVVctyGn7qyCdCV{pLSqPwflYoBstR7QUlvjYuQEECQOaAB, Expected Output: Code Here, Actual Output: jldkIIpglTa7dlPqPI{cYFdCjsyLbOfgE7DHyiwLhDRRPDBnNO
      Expected string length 9 but was 50. Strings differ at index 0.
      Expected: "Code Here"
      But was:  "jldkIIpglTa7dlPqPI{cYFdCjsyLbOfgE7DHyiwLhDRRPDBnNO"
      -----------^
    
  • Loading more items...