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.
next time your raise an issue, please provide some more evidence, e.g. your code (with a spoiler flag and markdown block). also, come back to close your issue once you realized the mistake was yours and you solved the kata
ooooooooh okay thank you mate
This means, that you have to optimize your code. Try to think of a way how you can make your code find the solution faster.
program done but the random tests take too long to solve and return an error with exit code : 1
Execution Timed Out (12000 ms)
C Translation (author inactive).
Haskell translation
just WOW! Amazingly clever!
This is so clever. This solution just blown my mind.
This should be tagged as a logic kata too
Fixed.
C# starter code contains:
Which causes an error:
"#" in C-Sharp marks the beginning of a preprocessor directive.
"//" should be used instead for one line commenting.
A clever solution indeed! It feels that the kata was specifically designed for it, because this solution wouldn't work if there was a possibility to have more than one odd number per array.
See https://docs.codewars.com/training/training-example#writing-a-solution
Traceback (most recent call last):
File "/workspace/default/tests.py", line 2, in
from solution import get_animals_count
ImportError: cannot import name 'get_animals_count' from 'solution' (/workspace/default/solution.py)
Loading more items...