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.
The secret is to test every aspect of the problem. Then, you have to go to GPT or Stack and figure out .name even exists. Not a level 8, but curcial stuff to learn
So clever!
This was brilliant
Approved.
Added a C translation:
https://www.codewars.com/kumite/62d57aea9769c5b78e098c2c?sel=62d57aea9769c5b78e098c2c
Thanks. Sorry for not approving it yet, I need to solve it first :D
Agreed.
Fixed it.
Yes, they shouldn't be in the setup code.
I removed them
Why include those two lines in solution set up:
?
Thank you for pointing this out.
I also added a comment line regarding the returned value and removed
useless remaining pieces of code (movsd xmm5, xmm0).
Since
xmm0
holds the first argument, I thinkxorps xmm0, xmm0
should be removed from solution set up. This is different from katas involving integers, whererax
always hold the result but can never be an argument at the same time, so it's a common practice to empty it first, and however it cannot have a bad incidence. A beginner could be confused. I would also add a comment line stating that the result must be stored inxmm0
(that's what is done in most existing katas).Added an NASM translation: https://www.codewars.com/kumite/6295098d910756001770db76?sel=6295098d910756001770db76
Added an NASM translation: https://www.codewars.com/kumite/6298e0105f99e3001a4bcfde?sel=6298e0105f99e3001a4bcfde
Added an NASM translation: https://www.codewars.com/kumite/629e5c2f3bcb990ca1818472?sel=629e5c2f3bcb990ca1818472