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.
In the Instructions is written:
operation(2,8) -> 2
2/*2 = 4
4/*2 = 8
After we subtract 1 from 'a' it is the same case. So for me the result has to be 2
C++, when I check for invalidValues.
state > 0x7f : all valid values test are passed, invalid values fail;
state >= 0x7F : all invalid values test are passed, valid values fail;
Can someone who passed the test to expain, may be I miss something.
Ok, thanks for pointing the issues. This is my first tries to create a Kata :) . I will have it in mind for the next Katas.
I have same issue, C++
This comment is hidden because it contains spoiler information about the solution