Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
huh? 14 % 2 is not 2. izdwuut is right, it does not matter in this case.
Thank you Ivan, I fixed the image
Oh, I found this image. They changed domain to postimg.cc.
So, here is link: https://postimg.cc/image/rbgnncxkb/
I don't have this image in my browser cache( Probably somebody can share this image and I will upload this again, otherwise it will take some time while I will restore the image.
Guys, could you check you browser cache?
The example image (http://s33.postimg.org/nf3brdckv/111.png) is not exists – 404 error.
1^2 + 2^2 + 3^2 = 14 : (14 % 2) == 2
1^3 + 2^3 + 3^3 = 36 : (36 % 2) == 0
It metters...
You right. The problem is in solution :) Thanks!
This is not an issue with the Tests. Please recheck your code!
This is the test you mentioned
cr_assert_str_eq(multiply("0000001", "3"), "3");
and has you can see, it expect"3"
as your answer.I have a problem with test "0000001" and "3". The message is
But I rechecked and my program returns exactly "3" string. I even compared it using strcmp and got (int) 0 as result.
I'm training C version of this kata.
strcmp(multiply("0000001", "3"), "3") == 0
It couldn't, but it doesn't matter here, as it seems.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution