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.
Thank you. I've got 3 questions:
Don't you think it would have been more straightforward to add the line
if(n==6){a=b;}
in the case statements?Why did you change your "complete solution"?
Are these updates already active or do they need to approved/validated?
Hi rowcased, can you take a look at this discourse page and change the tests in your C translation accordingly (that is: add an edge case
tester( 17, 17, false );
and update the random test generator so that in 10% of the casesa==b
)?Thank you for the contribution.
I'm still unable to approve. The process silently fails. is it because I recently updated the tests in the orginal kata?
I've tried to approve the translation but nothing happened. I will try again later.
Your reference solution calls the helper function
f()
. It should call the helper function__f()
.Done
OK good. Can you also change the description as per rowcased comments (layering of the tiers + change the decimal points to the multiplication operand)? Then it will be updated when I approve the translation.
Do you think I can also add an edge case + update the random test generator in the original Python version?
Your function returns
nil
whena==b
but it should returnfalse
. In the original Python kata,a==b
is tested only if the random numbers generator generates 2 identical numbers. I realize that this situation may not occur very often. Is it possible to introduce a new specific fixed test for this edge case? Or is it going to mess up because the kata has already been completed several times?Hi anter69, I'm not familiar with Ruby and - if I want to reasonably check your translation - I need some extra time to get the grasp of this language.
Thank you for the contribution.
Hi,
I changed the link and now it points to the wiki article. I also formatted the description with KaTex and added the MATH tag.
Hi,
I changed the random number generator in order to:
a==b
a==2^n.1
andb==2^n.1
C++ translation kumited. Feel free to review and approve it when you get some time.
I'm stuck on this kata for a while. Can anyone give me a small hint?
Loading more items...