Ad
  • 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?

  • 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

  • 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 ***
    
  • 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?