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.
Ok I made it.
ok but is it possible to make the kata work without the libs?
u128 isn't enough
It's not a kata issue, this library is not installed on Codewars: https://docs.codewars.com/languages/rust
with Rust I can't import big_int/rug lib for big integers.
I've solved it locally but it doesn't compile on the website...
same problem for me!
We've added Rust 1.25. See our blog for more info.
sorry, you are right! I though 0 was possible.
anyway it's not a bad practice to check that.
Did you read the kata?
I like match too much :P
please, upgrade rust compiler !
This comment is hidden because it contains spoiler information about the solution
I can't use .repeat(i) on the iterator..
it works on rust-1.24.1.
please update the runtime :P
cheater xD
lol I should have used % / ...