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.
Floating point comparison should be enforced in all languages
In the Ruby sample tests, the order of the expected and actual arguments is reversed.
See my fork
Any random tests?
Whoever did the Ruby, nice work on the random test description. It is often a fight to know what is being tested.
It lacks random tests, so I guess it wasn't approved because of that (not that the author has requested them either)
where is Ruby translation?
My first solution used only one dimension and passed all the tests. A think some tests with x = 0 or y = 0 should be added to prevent it.
I hate python solution and for 50(fifty) elements it took 0.4 seconds to get right solution...
So i want to say that you need optimisations... A lot of optimisations =)
C++ translation Kumited!
Error reporting is still a bit wonky, but that's beyond my scope
Fun Kata! Python translation Kumited, please review and approve!
Hi iamstone, nice kata! I have just translated to Ruby! ;)
Yes I am sure there are no errors in the tests because they are the same in all languages and guys succeeded. I saw and tried your solution. It passed the "Run Tests" but for the "Submit" part it took more than 6000 ms. Your solution seems correct but too slow for all the tests in the "Submit" part.
The tests are the same in all languages.
I tried again my solution which needs about 2000 ms. No solution shows up even mine... I think it is some kind of bugs at CW; it is not a proof that no one passed the kata in Ruby! Only one cheated solution is shown.
There are 27 fixed tests + random tests.
I have done everything right and reproduced all the tests, however when submiting there was no way I could get it accepted. I decided then unlock the solutions, but surprisingly there were no valid solutions.
Loading more items...