Ad
  • Custom User Avatar

    to what extent is a user allowed to post his solution if he has problems?

    You're allowed to post your solution as is, as long as you check "Mark as having spoiler content" when posting. Users that solved the kata already can see the code.

    Also, remember to use Markdown when posting your solution so it's readable.

    ```cpp
    class Accumul
    {
    public:
        static std::string accum(const std::string &s);
    };
    ```
    

    will be displayed like

    class Accumul
    {
    public:
        static std::string accum(const std::string &s);
    };
    
  • Custom User Avatar

    Ahh ok thanks for the answer, but I solved it now. This time for real on the site^^. If I may ask you this, to what extent is a user allowed to post his solution if he has problems?

  • Custom User Avatar

    @Tempelwaechter

    I solved the problem, I verified it by pasting my solution into Visual Studio.

    This is not possible because you cannot see the full test cases. Sample tests that you can see and edit are just samples for you to get started. So passing all of them does not mean that you've solved the problem.

    Also, there's not much we can do to help you without you providing relevant information.

    But the site is just giving me an error with no explanation

    Include the error message or summarize what it says.
    You can post your solution and error messages you see and ask if it's an issue. Label your comment as Question instead of Issue and mark it having spoiler content.

    @FArekkusu

    Can you try to be more helpful? If not, can you ignore the comment and let other users answer?

    The user is clearly new to Codewars and doesn't know how things work yet. Your response is not helpful at all. Please try guiding them or at least ignore them so others can.

  • Custom User Avatar

    There's no issue with tests, your solution is wrong.

  • Custom User Avatar

    Hello, I have a question regarding the kata. I solved the problem, I verified it by pasting my solution into Visual Studio. But the site is just giving me an error with no explanation to what I did wrong.
    Is there a way to solve this, because I dont really want to look in the solution and forfeit my attempt.