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.
Cmon, lambdas are just 1-time 1-expression functions if they aren't assigned to a variable...
I solved that issue by using Math.ceil() instead of Math.floor, and then subtracting 1. This will give identical results in all cases except when the bounce takes you exactly to the window, in which case it'll subtract that bounce out.
lambda
is for anonymous functions. Naming alambda
expression defeats the purpose.Just ran into the same issue after switching to the C++17 variant. The C++14 one seems to be doing fine.
It can be seen on the dashboard (home page) still.
spoiler flag...
No problem, thank you for having kept me informed.
I don't understand: 690 people passed the C++ kata (see at the top of the page); I tried your solution several times and it passes without error.
just read the other messages below...?
Spoiler flag!!!