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.
fixed for both
Yes, in C too.
Tests in NASM seem identical to C's. I assume the problem is for both languages?
Random tests in NASM can generate zeros.
Not efficient enough. There's a famous math algorithm to find the greatest common divisor
Approved :)
Nasm translation
Read my answer to TechnoDiver just below ;)
Seems tests don't get actualized. I guess with this new fork approved it should be ok (reject if it's useless): https://www.codewars.com/kumite/627ebed6ffea1073bbdd33c2?sel=627f90c7f1b9ed001ab7ceb3
Fixed, thanks.
Go sample tests:
This comment is hidden because it contains spoiler information about the solution
Try to use braces systematically, your code will be more readable and this may be the cause of the error (and if it is not it will be easier to catch the problem).
This comment is hidden because it contains spoiler information about the solution
Because this method is too slow. You need to find a more efficient approach. This is one of the best known maths algorithms in history ;)
Can you delete your duplicate post below please?
Loading more items...