Ad
  • Custom User Avatar

    Can you submit a Rust translation or at least check the code, now that you can see it all once you solved it?

  • Custom User Avatar

    Feel free to pass me a fix for that kata.

  • Default User Avatar

    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.

  • Default User Avatar

    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!

  • Default User Avatar

    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?