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.
This comment is hidden because it contains spoiler information about the solution
What are you saying about this? Do you mean that this kata's sensei should have made the argument "v" into an argument called "velocity"?
It looks correct now.
whats the point of bitwise or 0, I like how straightforward this promises to be.
whatever do you mean findodd in an array returns number that isn't which looks confusing
Returns the last value of && values if test evaluates to true, and the + converts the test to 0 will be take for false at which point that will be returned regardless of order in && values.
Depends on the language.
As soon as you click "Attempt" you will get lots of errors providing many more test cases/clues...
It's not slow (actually, it is. but not enough to matter), it has a bug.
sum
isn't reset to zero at the correct place. This isn't always triggered though, so it gives some results and then loops infinitely when it is.Your code would be easier to read if it didn't use quite so many linebreaks, and would fit on one page. Also, you're doing very, very complicated things with loops where you could just calculate a value. You're dividing by nine by repeatedly subtracting nine. You wouldn't normally do that, would you?
Thanks Kazk, I'll give that a try!
@MrHobbits,
Try wrapping your code with triple backticks (`) and optional language identifier.
Hi,
type("111") != type(111)
Regards,
suic
@lechevalier: I edited some Python code today without issues but I struggled with republishing Haskell katas. I'm not sure what's happening with CW. Yesterday I can't re-publish any kata :( (see these issues: #770 and #771).
I think the current issue isn't caused by my changes. I posted a solution after I modified the test cases for Haskell.
Regards,
suic
Done. :)
Ditto. Broken at the moment.
Loading more items...