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.
Nope, mate.
1st iteration: SystemA is 10 and SystemB is (10 * 0,95) ceiled to 10, so prices are equal, therefore moving to the next iteration.
2nd iteration: SystemA is 20 and SystemB is (10 +(10 * 0,95)) ceiled to 10, so now the required condition is met (SysA > SysB).
Result: you have to buy 2 tickets with SystemB for it to be lower after ceiling than SystemA.
the unit is not relevant for the calculation in this case
recursive, so probably slower
movie(0, 10, 0.95)
Why is expected result 2 here?
Should be 0 or 1, no?