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.
Can you submit a Rust translation or at least check the code, now that you can see it all once you solved it?
Feel free to pass me a fix for that kata.
Range of random tests and rand generator have been modified. I tested my solution lots of time with
if n < 0 { panic!() }
and all tests worked fine. Maybe you could post your code (mark it as "spoiler") and I will try to see what happens.CW has not implemented the "rand crate" so I wrote a small random generator... and it generated sometimes negative numbers! I fixed that (I hope:-) Could you tell me if it works now? Anyway lot of thanks for your post!
I don't understand your problem. As far as I know there are no negative values only strictly positive ones. Could you give an example of your problem?