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.
Oh, thank you for noticing! I didn't think about it in this way
next time, don't post the solution of the hard version ni the easy one, thx
(doing so, you're spoiling the hard one)
cheers
I try to solve the problem using C++ and keep getting results like that (in Random_tests):
And I keep thinking this is because of my misunderstading of
%
-operator. What it supposed to do in case of floating-point numbers? E.g. what is the value of9.7 % 2.3
? Is it like10 % 2
or9 % 2
. And what is value of7.5 % -3
?