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. Thanks for your help. Let's continue to solve another katas )).
Really helped! Thanks!
But I did not understand completely why my version was wrong ).
a[a.index(i)]=(i.reduce(:+))
-and-
r.push((i.reduce(:+)))
gives the same result. I'm confused ))
This comment is hidden because it contains spoiler information about the solution
Please fix up Random tests for Ruby (it can't pass any of the tests). While checking I get one and the same mistake for each test:
<NoMethodError: undefined method `length' for 15:Fixnum
block in kiyo_lcm_test'
each'kiyo_lcm_test'
block (3 levels) in 'block (2 levels) in <main>'
times'>Basis tests pass without any problems. I checked the incoming arguments from Random tests using my IDE - everything's fine. Isuppose it's a bug of a final test-case.
What about Ruby? Interesting topic, but not all tasks are adapted :(
This comment is hidden because it contains spoiler information about the solution
You're right! Thx! )
By default, this code not working without " require 'Date' ". Nope?