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.
C translation (author gone)
It's a known issue with Codewars reporter for Powershell: https://github.com/codewars/runner/issues/290
You most probably have some syntax error in your script which prevents it from running and producing any test output.
Please check settings TEST execution for power-shell.
Response received but no data was written to STDOUT or STDERR.
ditto. I also targeted a wrong format. Besides, I think this kata should be moved to the 7 kyu category at least.
When you give the desired answer in the riddle, please provide correct format for output.
Expected
: "'0,1,2..."
to equal |
: "0,1,2,..."
I added ' and + to the printed array, however that was unnecessary.
python translation
Not fixed :( There's a naked "string" in w/o a "std::"
Fixed by OP's fork
Approved
Prolog translation
I'm misunderstanding the concept of multiplicity where you can't divide by zero or the autor didn't consider his example correctly ?
assertArrayEquals(new int[]{0, 2, 6}, ZywOo.multipleOfIndex(new int[]{0, 2, 3, 6, 9}));
Approved
Yep, lots of comments on this one. I answered the description requirements, then was quite confused as to why my code was failing... Finally look at the testcase answer and see it is radically different to the description output.... Not ideal. Sure you could argue I'm an idiot for not looking at the testcase, but surely it's bad writing to have an incorrect output example for the description?
Why arrays with one element returns 0?
It is also a palindrome
Approved!
Loading more items...