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.
mine is better
Rejecting due to missing random tests.
nice one bro (:
why using namespace std is used here ?
No way we thought about it
This comment is hidden because it contains spoiler information about the solution
How does that ? work in this code exactly?
I don't fully understand how this works
You don't need to put brackets for if-elses, by the way. To be more clear: If you're going to run only one thing in if-else, you can ignore brackets.
easy
Done
Can you add
0
as a test case in sample and fixed tests?Does this have random tests?
The function returns a function not void
The solution is returning a lambda expression which is the shortcut version for writing a function
This comment is hidden because it contains spoiler information about the solution