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.
genius
very cool bro
It casts float number to integer, so you get the whole result.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Your JS engine is broken. It doesn't seem to be following operator precedence.
|0
would be flooring that18.04
to18
.Or... the more likely explanation is that you did not copy the entire solution when you went to test it...
Which bit is complicated?
Why complicate things even where you shouldn't?How come people voted this as a best practice
For the C++ random tests there is a reoccuring error for me. I don't believe it's my code since I've used cout to test the input and output multiple times. As well as running it as my own test with expected result, and the code works. But it expects a very strange response.
identifier: obfq-cqyccok
target case: snake
my code's output from 'cout' straight before returning: obfq_cqyccok
Error message: "Expected: equal to mici"
If the problem is simply on my end somehow I'm sorry for raising an issue
Oh right, I didn't know :P.
Yes it does
EDIT: No it doesn't :P
Doesnt work for the year 248993559122 :p
Thanks :)