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.
OP solved it, closing
you shouldnt codde like this, lisibility comes first.
This comment is hidden because it contains spoiler information about the solution
In ISO/IEC 9899:1999 (C99) the equality operators are defined as follows
"Each of the operators yields 1 if the specified relation is true and 0 if it is false. The result has type int."
Can someone explain to me the expression inside the while loop. I know what it does, I just dont know how if according to me it requires an if statement.
Which?
This is not the proper way to raise an issue:
Please read carefully this and don't raise issues so lightly in the future: https://docs.codewars.com/training/troubleshooting/
There are big problems with this Kata created by the author
This comment is hidden because it contains spoiler information about the solution
Not a kata issue.
This is a well thought short precise and beautiful answer.
Read this: https://docs.codewars.com/training/troubleshooting/#post-discourse and this: https://docs.codewars.com/training/troubleshooting/#c-c-signal-6---sigabrt
Youre right. I forgot the division does a floor()
That's not how integer division work. You'll get 6(D) in both cases, the only difference is the remainder.
This comment is hidden because it contains spoiler information about the solution
Loading more items...