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.
I think I have fixed this now
Random test in C produces some garbage like
looks ok
Let's see with the translator of this kata into Rust: @akar-0
Rust tests generate warning on using itertools::zip; fixed in the branch, please merge.
Rust translation
Fixed.
Cool!
Just wanted to point it out, since it was the most upvoted solution.
Yes, but it's 8 kyu. You can't expect questions on data size limits on 8 kyu.
Probably there should be something like n <= 1_000_000_000 in the description to avoid ambiguity.
Panics!
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=a63ebb85f52e1417236a6dcb40bd6bb5
this kata makes me feel bad :(
That's a math problem in fact, not solely programming.
that's why programmers have to learn maths anyways
pretty much the same thing as mine... not bad!
The warning is no longer there.
Loading more items...