Ad
  • Custom User Avatar

    This looks like a bug. The discuss button is not available anymore when you start a kata, you have to get out of training and then you can click discourse at the top. There's quite a few ui problems.

  • Default User Avatar

    One problem with that:
    Imgur
    There is no such button. I’m guessing those two buttons are unavailable on kata ranked two or more kyu above the user. Don’t think that’s stated anywhere. Is it?

  • Custom User Avatar

    Click the "Discuss" button at the bottom right side of the page (see image below).

  • Default User Avatar

    Please either tell me what’s wrong with my code, or fix the kata’s evaluation code and/or instructions. Perhaps don’t have the function return an array, but pass it an array to populate.

  • Default User Avatar

    I mean, how do you get there from the /train page? Is the site just not well laid out that way?
    Imgur

  • Custom User Avatar

    In your browser's developer console enter: document.getElementsByClassName('tabs is-contained mbm')or go to https://www.codewars.com/kata/:kata_id_or_slug/discuss if you still can't find the discourse button.

  • Default User Avatar

    (Duplicate reply)

  • Default User Avatar

    I don't see a discourse link while working on a kata.

  • Default User Avatar

    So why are the random tests crashing on free() when I don't even call that function? How can I avoid it?

    *** Error in `/home/codewarrior/solution': free(): invalid pointer: 0x00000000006031e0 ***
    
  • Custom User Avatar

    1.) Go the Kata
    2.) Click the discourse link at the top of the page
    3.) Click the "Leave feedback or ask for help..." field. Enter comment. Then click "Post".

  • Default User Avatar

    In fact you pass 21 fixed tests and One random.
    47 guys passed the C kata.
    Returns of random tests are freed.

  • Default User Avatar

    You’re most likely not using a static array for your return value. That’s needed when returning arrays in C.

  • Default User Avatar

    I tried to edit my spoilery comment but it was just blank, so I posted this reply on that topic, and the comment suddenly re-appeared. With no edit option, though. And I don’t think I can delete this reply.

  • Default User Avatar

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

  • Default User Avatar

    How do I comment on a kata that I have a problem completing?