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 Java translation has no random tests.
Approved by someone
you must not forget the float type
The random tests don't work: the hardcoded string "kata editor" is passed for every random test instead of the randomly generated string.
Your code has a bug, not a kata issue. Print the input to help you debug your code.
On the python attempty for this project, I keep on getting an error that says it should be 66 and not 56, I am not sure where I am going through as I am only getting this one error and all the others seem to be a pass.
The input can be found in rdi. It looks like Codewars uses the same calling convention that is described on this site, where the first six integer arguments of a function are stored in rdi, rsi, rdx, rcx, r8, and r9.
Lua translation available
Wow! There really is an instruction for everything.
If you print out the array in your function, you may see for yourself what is being passed in, and if it is already sorted or not. You may also try returning a hardcoded answer for the first testcase and see what passes and what fails.
TS:
approximate equality should be used, or BigInts instead
For TS
Description states:
The strings will always be "well formed", meaning with a space on each side of the operators.
Logging the input of random tests determines that this was a cruel lie...
example :
8512366752971078000008@6@31@30@29@12@36@8@30@25@32@35@6@22@9@30
https://www.codewars.com/kumite/643db66e7be7c224e933e476?sel=643db66e7be7c224e933e476
c++ translation
This was a lot of fun! :)
ok fine, i get your point , and this kata has been rertied allready , but their are katas that are far easier, such as "Get nth even number"
Loading more items...