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.
yes, you're right, I got mixed up
just FYI, but n|0 which is the same as ~~0 gets you the floor of n, not the round of n
The better answer would be: Forget the 7:3:1 ratio from previous problem, in this 3rd installment, the operators don't give a damn about it.
https://www.codewars.com/kata/reviews/52685f7482004e774f0001fa/groups/62674d726e9ff800010b84a9
Update, it's better.
That's right, it's just for readability
% 3600
as inseconds % 3600 % 60
is laughable.Just
seconds % 60
is enough.Just use 'n|0' to get the round of n
please explain to me the Bitwise OR (|) operator here, thanks!
Almost codewarsReadable !
The best! Clever and readable!
Cool
For this kata the estimated time unit may actually be a non-integer value.
This comment is hidden because it contains spoiler information about the solution
Thanks, I guess so.
Loading more items...