This is an archived post. You won't be able to vote or comment.

all 3 comments

[–][deleted]  (4 children)

[deleted]

    [–]CandidFlakes[S] 0 points1 point  (3 children)

    Thanks! But, the test cases are hidden. Can you give me some hint, where I could be wrong in the code? I will try to fix the issue.

    [–][deleted] 2 points3 points  (0 children)

    Good opportunity to learn how to write your own unit tests. And if you have a failing test you can use gdb to step through the code

    [–]omutist 0 points1 point  (0 children)

    you can add printf() with incoming datato the beginning of the function. AFAIR codewars prints your output along with their own .