Rejected by someone, refer to comments in translation discourse and create a new fork as a fix
No where does it say the ages need to be positive.... ;-).
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
Who votes for best practice? Code wars WebDevs, please implement the "Unreadeable" button.
🚌 :p
I was pretty confused why many are using bitwise here, not the arithemetic operators like i did. Now Its pretty clear to me. So, Thank you!
enum
static
Looks preety, concise, speedy, and... unreadable anyway.
Custom assertion messages which present inputs on failue would be nice.
Both arguments must be strictly positive.
It could be enforced by kata author, but it isn't so you'll get all different type of solutions.
it's still an empty array whether it's array[] = {} or array[] = {{}}
array[] = {}
array[] = {{}}
I didn't understand what does that mean
I think sometimes empty arrays can exist as test samples in C, so, because all versions of C on CW work on Clang, empty arrays can be valid here too.
I made a fork fixing the error tests (about empty {{}} part btw: https://www.codewars.com/kumite/61d5fbba9e1e88003840f2e7?sel=625057d7629507b65303e583
Loading collection data...
Rejected by someone, refer to comments in translation discourse and create a new fork as a fix
No where does it say the ages need to be positive.... ;-).
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
Who votes for best practice?
Code wars WebDevs, please implement the "Unreadeable" button.
🚌 :p
I was pretty confused why many are using bitwise here, not the arithemetic operators like i did. Now Its pretty clear to me.
So, Thank you!
enum
would be a more sensible return typestatic
Looks preety, concise, speedy, and... unreadable anyway.
Custom assertion messages which present inputs on failue would be nice.
Both arguments must be strictly positive.
It could be enforced by kata author, but it isn't so you'll get all different type of solutions.
it's still an empty array whether it's
array[] = {}
orarray[] = {{}}
I didn't understand what does that mean
I think sometimes empty arrays can exist as test samples in C, so, because all versions of C on CW work on Clang, empty arrays can be valid here too.
I made a fork fixing the error tests (about empty {{}} part btw: https://www.codewars.com/kumite/61d5fbba9e1e88003840f2e7?sel=625057d7629507b65303e583
Loading more items...